diff --git a/src/test/java/org/apache/commons/collections4/ListUtilsTest.java b/src/test/java/org/apache/commons/collections4/ListUtilsTest.java index 8a23039d8..a9bf8e8ce 100644 --- a/src/test/java/org/apache/commons/collections4/ListUtilsTest.java +++ b/src/test/java/org/apache/commons/collections4/ListUtilsTest.java @@ -425,7 +425,7 @@ public class ListUtilsTest { fail("failed to check for size argument"); } catch (final IllegalArgumentException e) {} - List> partitionMax = ListUtils.partition(strings, Integer.MAX_VALUE); + final List> partitionMax = ListUtils.partition(strings, Integer.MAX_VALUE); assertEquals(1, partitionMax.size()); assertEquals(strings.size(), partitionMax.get(0).size()); assertEquals(strings, partitionMax.get(0));