harmony-commits mailing list archives

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

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

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/MissingFormatArgumentExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/MissingFormatWidthExceptionTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.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/DuplicateFormatFlagsExceptionTest.java?rev=430309&r1=430308&r2=430309&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.java
Thu Aug 10 01:23:36 2006
@@ -30,13 +30,11 @@
 	 */
 	public void test_duplicateFormatFlagsException() {
 		try {
-			DuplicateFormatFlagsException duplicateFormatException = new DuplicateFormatFlagsException(
-					null);
+            new DuplicateFormatFlagsException(null);
 			fail("should throw NullPointerException.");
 		} catch (NullPointerException e) {
 			// desired
 		}
-
 	}
 
 	/**

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.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/FormatFlagsConversionMismatchExceptionTest.java?rev=430309&r1=430308&r2=430309&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.java
Thu Aug 10 01:23:36 2006
@@ -31,8 +31,7 @@
 	 */
 	public void test_formatFlagsConversionMismatchException() {
 		try {
-			FormatFlagsConversionMismatchException formatFlagsConversionMismatchException = new FormatFlagsConversionMismatchException(
-					null, ' ');
+            new FormatFlagsConversionMismatchException(null, ' ');
 			fail("should throw NullPointerException.");
 		} catch (NullPointerException e) {
 			// expected

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.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/IllegalFormatConversionExceptionTest.java?rev=430309&r1=430308&r2=430309&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.java
Thu Aug 10 01:23:36 2006
@@ -31,13 +31,11 @@
 	 */
 	public void test_illegalFormatConversionException() {
 		try {
-			IllegalFormatConversionException illegalFormatConversionException = new IllegalFormatConversionException(
-					' ', null);
+            new IllegalFormatConversionException(' ', null);
 			fail("should throw NullPointerExcetpion.");
 		} catch (NullPointerException e) {
 			// desired
 		}
-
 	}
 
 	/**

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.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/IllegalFormatFlagsExceptionTest.java?rev=430309&r1=430308&r2=430309&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.java
Thu Aug 10 01:23:36 2006
@@ -30,8 +30,7 @@
 	 */
 	public void test_illegalFormatFlagsException() {
 		try {
-			IllegalFormatFlagsException illegalFormatFlagsException = new IllegalFormatFlagsException(
-					null);
+            new IllegalFormatFlagsException(null);
 			fail("should throw NullPointerException");
 		} catch (NullPointerException e) {
 			// expected

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/MissingFormatArgumentExceptionTest.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/MissingFormatArgumentExceptionTest.java?rev=430309&r1=430308&r2=430309&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/MissingFormatArgumentExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/MissingFormatArgumentExceptionTest.java
Thu Aug 10 01:23:36 2006
@@ -31,13 +31,11 @@
 	public void test_missingFormatArgumentException() {
 
 		try {
-			MissingFormatArgumentException missingFormatArgumentException = new MissingFormatArgumentException(
-					null);
+            new MissingFormatArgumentException(null);
 			fail("should throw NullPointerExcepiton.");
 		} catch (NullPointerException e) {
 			// expected
 		}
-
 	}
 
 	/**

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/MissingFormatWidthExceptionTest.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/MissingFormatWidthExceptionTest.java?rev=430309&r1=430308&r2=430309&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/MissingFormatWidthExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/MissingFormatWidthExceptionTest.java
Thu Aug 10 01:23:36 2006
@@ -29,14 +29,11 @@
 	 */
 	public void test_missingFormatWidthException() {
 		try {
-			String s = null;
-			MissingFormatWidthException missingFormatWidthException = new MissingFormatWidthException(
-					s);
+            new MissingFormatWidthException(null);
 			fail("should throw NullPointerExcepiton");
 		} catch (NullPointerException e) {
 			// expected
 		}
-
 	}
 
 	/**



Mime
View raw message