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…
Reference in New Issue