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:
Sebastian Bazley 2013-04-28 23:56:45 +00:00
parent 25d443fb05
commit 4a64a89920
1 changed files with 1 additions and 1 deletions

View File

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