mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-18 16:06:36 +00:00
Use Collections.sort(List) for clarity
This commit is contained in:
parent
6d4ea100ff
commit
de1d2732dd
@ -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<>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user