diff --git a/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java b/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java index b8a4649af..6c7da3c60 100644 --- a/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java +++ b/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java @@ -110,7 +110,7 @@ public class AbstractMultiValuedMap implements MultiValuedMap, Seria } this.map = (Map>) map; this.collectionFactory = new InstantiateFactory(collectionClazz, new Class[] { Integer.TYPE }, - new Object[] { new Integer(initialCollectionCapacity) }); + new Object[] { Integer.valueOf(initialCollectionCapacity) }); } /**