Fix generic type

This commit is contained in:
tonymanou 2017-01-12 01:55:18 +01:00 committed by topjohnwu
parent 89744100ce
commit 57e6f3080c

View File

@ -168,7 +168,7 @@ public class ModuleHelper {
}
}
private static class ValueSortedMap<K, V extends Comparable > extends HashMap<K, V> {
private static class ValueSortedMap<K, V extends Comparable<? super V>> extends HashMap<K, V> {
private List<V> sorted = new ArrayList<>();