Use Collections.sort(List) for clarity
This commit is contained in:
parent
5ebd823ae3
commit
640b5e1c61
|
@ -464,7 +464,7 @@ public class IteratorUtilsTest {
|
|||
|
||||
final List<Integer> combinedList = new ArrayList<>(collectionOdd);
|
||||
combinedList.addAll(collectionEven);
|
||||
combinedList.sort(null);
|
||||
Collections.sort(combinedList);
|
||||
|
||||
assertEquals(combinedList, result);
|
||||
|
||||
|
|
Loading…
Reference in New Issue