Skip to content

Commit

Permalink
Use Collections.sort(List) for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jun 23, 2024
1 parent 6d4ea10 commit de1d273
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public abstract class AbstractSortedBidiMapTest<K extends Comparable<K>, V exten
public AbstractSortedBidiMapTest(final String testName) {
super(testName);
sortedKeys = getAsList(getSampleKeys());
sortedKeys.sort(null);
Collections.sort(sortedKeys);
sortedKeys = Collections.unmodifiableList(sortedKeys);

final Map<K, V> map = new TreeMap<>();
Expand Down

0 comments on commit de1d273

Please sign in to comment.