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:
Thomas Neidhart 2014-03-03 21:25:39 +00:00
parent 76d073f5a8
commit c7599fd2a8
1 changed files with 2 additions and 2 deletions

View File

@ -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 ---------------------