mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-10 03:56:05 +00:00
Inline Collections.sort(Comparator).
This commit is contained in:
parent
075767a851
commit
74a8e8153e
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user