harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r430304 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java
Date Thu, 10 Aug 2006 08:16:17 GMT
Author: smishura
Date: Thu Aug 10 01:16:12 2006
New Revision: 430304

URL: http://svn.apache.org/viewvc?rev=430304&view=rev
Log:
Fix warning

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java?rev=430304&r1=430303&r2=430304&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java
Thu Aug 10 01:16:12 2006
@@ -32,9 +32,7 @@
 		// RI 5.0 will not throw NullPointerException, it is the bug according
 		// to spec.
 		try {
-			String s = null;
-			UnknownFormatConversionException UnknownFormatConversionException = new UnknownFormatConversionException(
-					s);
+            new UnknownFormatConversionException(null);
 		} catch (NullPointerException e) {
 			fail("should not throw NullPointerExcepiton");
 		}



Mime
View raw message