This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-collections.git
commit 640b5e1c61bd49ff0fe0cbbc6a4a172669a96d4b Author: Gary Gregory <[email protected]> AuthorDate: Sun Jun 23 14:21:38 2024 -0400 Use Collections.sort(List) for clarity --- src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java b/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java index aafbacaf1..ce05a4831 100644 --- a/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java +++ b/src/test/java/org/apache/commons/collections4/IteratorUtilsTest.java @@ -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);
