26 lines
879 B
Diff
26 lines
879 B
Diff
|
From 8989181fa07ecd77e7e4383c692d5122f0114673 Mon Sep 17 00:00:00 2001
|
||
|
From: Michael Simacek <msimacek@redhat.com>
|
||
|
Date: Tue, 28 Apr 2015 16:45:08 +0200
|
||
|
Subject: [PATCH 1/3] Port to Java 8
|
||
|
|
||
|
---
|
||
|
aQute.libg/src/aQute/lib/collections/MultiMap.java | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/aQute.libg/src/aQute/lib/collections/MultiMap.java b/aQute.libg/src/aQute/lib/collections/MultiMap.java
|
||
|
index bcfe354..2e91bdc 100644
|
||
|
--- a/aQute.libg/src/aQute/lib/collections/MultiMap.java
|
||
|
+++ b/aQute.libg/src/aQute/lib/collections/MultiMap.java
|
||
|
@@ -81,7 +81,7 @@ public class MultiMap<K, V> extends HashMap<K,List<V>> implements Map<K,List<V>>
|
||
|
return set.addAll(value);
|
||
|
}
|
||
|
|
||
|
- public boolean remove(K key, V value) {
|
||
|
+ public boolean remove(Object key, Object value) {
|
||
|
assert keyClass.isInstance(key);
|
||
|
assert valueClass.isInstance(value);
|
||
|
|
||
|
--
|
||
|
2.1.0
|
||
|
|