Use final.
This commit is contained in:
parent
8312673aa7
commit
949d747373
|
@ -425,7 +425,7 @@ public class ListUtilsTest {
|
|||
fail("failed to check for size argument");
|
||||
} 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(strings.size(), partitionMax.get(0).size());
|
||||
assertEquals(strings, partitionMax.get(0));
|
||||
|
|
Loading…
Reference in New Issue