commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r983218 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
Date Sat, 07 Aug 2010 12:02:15 GMT
Author: jcarman
Date: Sat Aug  7 12:02:15 2010
New Revision: 983218

URL: http://svn.apache.org/viewvc?rev=983218&view=rev
Log:
Reverting change that removed "superfluous" type argument.

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java?rev=983218&r1=983217&r2=983218&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java Sat
Aug  7 12:02:15 2010
@@ -181,7 +181,7 @@ public class ArrayUtilsTest extends Test
      */
     public void testEmptyArrayCreation()
     {
-        final String[] array = ArrayUtils.toArray();
+        final String[] array = ArrayUtils.<String>toArray();
         assertEquals(0, array.length);
     }
 
@@ -190,7 +190,7 @@ public class ArrayUtilsTest extends Test
      */
     public void testIndirectEmptyArrayCreation()
     {
-        final String[] array = ArrayUtilsTest.toArrayPropagatingType();
+        final String[] array = ArrayUtilsTest.<String>toArrayPropagatingType();
         assertEquals(0, array.length);
     }
 



Mime
View raw message