commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1476867 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java
Date Sun, 28 Apr 2013 23:56:46 GMT
Author: sebb
Date: Sun Apr 28 23:56:45 2013
New Revision: 1476867

URL: http://svn.apache.org/r1476867
Log:
Explicit boxing

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java?rev=1476867&r1=1476866&r2=1476867&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/iterators/ListIteratorWrapper.java
Sun Apr 28 23:56:45 2013
@@ -213,7 +213,7 @@ public class ListIteratorWrapper<E> impl
             --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);



Mime
View raw message