commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1573753 - /commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java
Date Mon, 03 Mar 2014 21:25:39 GMT
Author: tn
Date: Mon Mar  3 21:25:39 2014
New Revision: 1573753

URL: http://svn.apache.org/r1573753
Log:
Update test.

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

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java?rev=1573753&r1=1573752&r2=1573753&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/iterators/BoundedIteratorTest.java
Mon Mar  3 21:25:39 2014
@@ -50,12 +50,12 @@ public class BoundedIteratorTest<E> exte
 
     @Override
     public Iterator<E> makeEmptyIterator() {
-        return BoundedIterator.boundedIterator(Collections.<E>emptyList().iterator(),
10);
+        return new BoundedIterator<E>(Collections.<E>emptyList().iterator(),
0, 10);
     }
 
     @Override
     public Iterator<E> makeObject() {
-        return BoundedIterator.boundedIterator(new ArrayList<E>(testList).iterator(),
1, testList.size() - 1);
+        return new BoundedIterator<E>(new ArrayList<E>(testList).iterator(),
1, testList.size() - 1);
     }
 
     // ---------------- Tests ---------------------



Mime
View raw message