Use final.

This commit is contained in:
Gary Gregory 2018-06-12 15:44:36 -06:00
parent 8312673aa7
commit 949d747373
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ public class ListUtilsTest {
fail("failed to check for size argument"); fail("failed to check for size argument");
} catch (final IllegalArgumentException e) {} } catch (final IllegalArgumentException e) {}
List<List<Integer>> partitionMax = ListUtils.partition(strings, Integer.MAX_VALUE); final List<List<Integer>> partitionMax = ListUtils.partition(strings, Integer.MAX_VALUE);
assertEquals(1, partitionMax.size()); assertEquals(1, partitionMax.size());
assertEquals(strings.size(), partitionMax.get(0).size()); assertEquals(strings.size(), partitionMax.get(0).size());
assertEquals(strings, partitionMax.get(0)); assertEquals(strings, partitionMax.get(0));