harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r406627 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/lang/StringBufferTest.java
Date Mon, 15 May 2006 12:29:17 GMT
Author: smishura
Date: Mon May 15 05:29:17 2006
New Revision: 406627

URL: http://svn.apache.org/viewcvs?rev=406627&view=rev
Log:
Removing redundant catch block in test

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/lang/StringBufferTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/lang/StringBufferTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/lang/StringBufferTest.java?rev=406627&r1=406626&r2=406627&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/lang/StringBufferTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/lang/StringBufferTest.java
Mon May 15 05:29:17 2006
@@ -116,10 +116,6 @@
             fail("NullPointerException expected");
         } catch (NullPointerException e) {
             // expected
-        } catch (Exception e) {
-            assertEquals(
-                    "NullPointerException expected",
-                    NullPointerException.class, e.getClass());
         }
     }
 



Mime
View raw message