mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Like a noob, I missed some things... broke the compilation.
This commit is contained in:
@ -54,7 +54,7 @@ public class WeakHashMap<K, V> implements Map<K, V> {
|
||||
return map.containsValue(value);
|
||||
}
|
||||
|
||||
public V get(K key) {
|
||||
public V get(Object key) {
|
||||
poll();
|
||||
return map.get(key);
|
||||
}
|
||||
@ -68,7 +68,7 @@ public class WeakHashMap<K, V> implements Map<K, V> {
|
||||
map.putAll(elts);
|
||||
}
|
||||
|
||||
public V remove(K key) {
|
||||
public V remove(Object key) {
|
||||
poll();
|
||||
return map.remove(key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user