mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-06 10:09:16 +00:00
Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476867 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25d443fb05
commit
4a64a89920
@ -213,7 +213,7 @@ public class ListIteratorWrapper<E> implements ResettableListIterator<E> {
|
||||
--removeIndex;
|
||||
}
|
||||
if (!removeState || wrappedIteratorIndex - currentIndex > 1) {
|
||||
throw new IllegalStateException(MessageFormat.format(CANNOT_REMOVE_MESSAGE, removeIndex));
|
||||
throw new IllegalStateException(MessageFormat.format(CANNOT_REMOVE_MESSAGE, Integer.valueOf(removeIndex)));
|
||||
}
|
||||
iterator.remove();
|
||||
list.remove(removeIndex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user