ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jdk7/java/util/concurrent/ConcurrentHashMap.java
(Generate patch)

Comparing jsr166/src/jdk7/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.16 by jsr166, Mon Feb 11 20:43:59 2013 UTC vs.
Revision 1.17 by jsr166, Mon Feb 11 20:52:00 2013 UTC

# Line 4754 | Line 4754 | public class ConcurrentHashMap<K, V>
4754              V v;
4755              if ((v = value) == null)
4756                  throw new UnsupportedOperationException();
4757            if (e == null)
4758                throw new NullPointerException();
4757              return map.internalPut(e, v, true) == null;
4758          }
4759          public boolean addAll(Collection<? extends K> c) {
# Line 4764 | Line 4762 | public class ConcurrentHashMap<K, V>
4762              if ((v = value) == null)
4763                  throw new UnsupportedOperationException();
4764              for (K e : c) {
4767                if (e == null)
4768                    throw new NullPointerException();
4765                  if (map.internalPut(e, v, true) == null)
4766                      added = true;
4767              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines