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…
Reference in New Issue