OC-11340 parameterized resolving (2)
[idea/community.git] / platform / util / src / com / intellij / util / containers / MostlySingularMultiMap.java
index 11e953de6dcf234607a20b9b87fa5de7e56f07ad..4168b5b226c167473a8c203419c3d87f8e629a4f 100644 (file)
@@ -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));
   }