Author: sebb
Date: Fri Oct 22 01:17:43 2010
New Revision: 1026189
URL: http://svn.apache.org/viewvc?rev=1026189&view=rev
Log:
No cast needed
Modified:
commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestIteratorUtils.java
Modified:
commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestIteratorUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestIteratorUtils.java?rev=1026189&r1=1026188&r2=1026189&view=diff
==============================================================================
---
commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestIteratorUtils.java
(original)
+++
commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestIteratorUtils.java
Fri Oct 22 01:17:43 2010
@@ -71,7 +71,7 @@ public class TestIteratorUtils extends B
list.add("One");
list.add("Two");
list.add(null);
- String[] result = (String[]) IteratorUtils.toArray(list.iterator(),
String.class);
+ String[] result = IteratorUtils.toArray(list.iterator(), String.class);
assertEquals(list, Arrays.asList(result));
}