HBASE-10327. Remove remove(K, V) from type PoolMap<K,V> (Eric Charles)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1559288 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bebb59dc10
commit
257440a279
|
@ -93,14 +93,6 @@ public class PoolMap<K, V> implements Map<K, V> {
|
|||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Will be removed for Java 8, use {@link #removeValue} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean remove(K key, V value) {
|
||||
return removeValue(key, value);
|
||||
}
|
||||
|
||||
public boolean removeValue(K key, V value) {
|
||||
Pool<V> pool = pools.get(key);
|
||||
boolean res = false;
|
||||
|
|
Loading…
Reference in New Issue