# | Line 919 | Line 919 | public class ConcurrentHashMap<K, V> ext | |
---|---|---|
919 | /** | |
920 | * {@inheritDoc} | |
921 | * | |
922 | < | * @throws NullPointerException if the specified key or value is null |
922 | > | * @throws NullPointerException if the specified key is null |
923 | */ | |
924 | public boolean remove(Object key, Object value) { | |
925 | if (value == null) | |
926 | < | throw new NullPointerException(); |
926 | > | return false; |
927 | int hash = hash(key); | |
928 | return segmentFor(hash).remove(key, hash, value) != null; | |
929 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |