From 949d74737327f114ae97a18f9bb4a4f5626b59a5 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Tue, 12 Jun 2018 15:44:36 -0600 Subject: [PATCH] Use final. --- .../java/org/apache/commons/collections4/ListUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));