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-csv.git


The following commit(s) were added to refs/heads/master by this push:
     new 74a8e81  Inline Collections.sort(Comparator).
74a8e81 is described below

commit 74a8e8153e9af9b6b5ef3b6dca3ee027a75b0487
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Feb 13 11:27:23 2022 -0500

    Inline Collections.sort(Comparator).
---
 src/test/java/org/apache/commons/csv/CSVRecordTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/csv/CSVRecordTest.java 
b/src/test/java/org/apache/commons/csv/CSVRecordTest.java
index 8a92a7e..6b23e44 100644
--- a/src/test/java/org/apache/commons/csv/CSVRecordTest.java
+++ b/src/test/java/org/apache/commons/csv/CSVRecordTest.java
@@ -220,7 +220,7 @@ public class CSVRecordTest {
             map.put("ZColumn", "NewValue");
             // check:
             final ArrayList<String> list = new ArrayList<>(map.values());
-            Collections.sort(list);
+            list.sort(null);
             printer.printRecord(list);
             assertEquals("A,B,C,NewValue" + 
CSVFormat.DEFAULT.getRecordSeparator(), printer.getOut().toString());
         }

Reply via email to