commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1495866 - /commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java
Date Sun, 23 Jun 2013 18:26:33 GMT
Author: tn
Date: Sun Jun 23 18:26:33 2013
New Revision: 1495866

URL: http://svn.apache.org/r1495866
Log:
Fix warning in test class.

Modified:
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java?rev=1495866&r1=1495865&r2=1495866&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java
Sun Jun 23 18:26:33 2013
@@ -165,7 +165,7 @@ public class IteratorUtilsTest extends B
         }
 
         try {
-            iterator = IteratorUtils.arrayIterator(null);
+            iterator = IteratorUtils.arrayIterator((Object[]) null);
             fail("Expecting NullPointerException");
         } catch (final NullPointerException ex) {
                 // expected
@@ -294,7 +294,7 @@ public class IteratorUtilsTest extends B
         }
 
         try {
-            iterator = IteratorUtils.arrayListIterator(null);
+            iterator = IteratorUtils.arrayListIterator((Object[]) null);
             fail("Expecting NullPointerException");
         } catch (final NullPointerException ex) {
                 // expected



Mime
View raw message