OC-11340 parameterized resolving (2)

This commit is contained in:
Max Medvedev
2015-02-25 01:18:41 +03:00
parent 6bb213256e
commit a21bfd0604
2 changed files with 2 additions and 2 deletions
@@ -1576,7 +1576,7 @@ public class ContainerUtil extends ContainerUtilRt {
}
}
public static <T> void sort(@NotNull List<T> list, @NotNull Comparator<T> comparator) {
public static <T> void sort(@NotNull List<T> list, @NotNull Comparator<? super T> comparator) {
int size = list.size();
if (size < 2) return;
@@ -92,7 +92,7 @@ public class MostlySingularMultiMap<K, V> implements Serializable {
return myMap.isEmpty();
}
public boolean processForKey(@NotNull K key, @NotNull Processor<V> p) {
public boolean processForKey(@NotNull K key, @NotNull Processor<? super V> p) {
return processValue(p, myMap.get(key));
}