Update test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1573753 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
76d073f5a8
commit
c7599fd2a8
|
@ -50,12 +50,12 @@ public class BoundedIteratorTest<E> extends AbstractIteratorTest<E> {
|
|||
|
||||
@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 ---------------------
|
||||
|
|
Loading…
Reference in New Issue