Use Collections.sort(List) for clarity

This commit is contained in:
Gary Gregory 2024-06-23 14:21:38 -04:00
parent 5ebd823ae3
commit 640b5e1c61
1 changed files with 1 additions and 1 deletions

View File

@ -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);