# | Line 4756 | Line 4756 | public class ConcurrentHashMapV8<K, V> | |
---|---|---|
4756 | V v; | |
4757 | if ((v = value) == null) | |
4758 | throw new UnsupportedOperationException(); | |
4759 | – | if (e == null) |
4760 | – | throw new NullPointerException(); |
4759 | return map.internalPut(e, v, true) == null; | |
4760 | } | |
4761 | public boolean addAll(Collection<? extends K> c) { | |
# | Line 4766 | Line 4764 | public class ConcurrentHashMapV8<K, V> | |
4764 | if ((v = value) == null) | |
4765 | throw new UnsupportedOperationException(); | |
4766 | for (K e : c) { | |
4769 | – | if (e == null) |
4770 | – | throw new NullPointerException(); |
4767 | if (map.internalPut(e, v, true) == null) | |
4768 | added = true; | |
4769 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |