harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r430298 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatFlagsExceptionTest.java
Date Thu, 10 Aug 2006 07:59:15 GMT
Author: smishura
Date: Thu Aug 10 00:59:06 2006
New Revision: 430298

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

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatFlagsExceptionTest.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/UnknownFormatFlagsExceptionTest.java?rev=430298&r1=430297&r2=430298&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatFlagsExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatFlagsExceptionTest.java
Thu Aug 10 00:59:06 2006
@@ -32,14 +32,11 @@
 	public void test_unknownFormatFlagsException() {
 
 		try {
-			String s = null;
-			UnknownFormatFlagsException UnknownFormatFlagsException = new UnknownFormatFlagsException(
-					s);
+			new UnknownFormatFlagsException(null);
 			fail("should throw NullPointerExcepiton");
 		} catch (NullPointerException e) {
 			// expected
 		}
-
 	}
 
 	/**



Mime
View raw message