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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.86 by dl, Sun Nov 20 15:38:08 2005 UTC vs.
Revision 1.87 by jsr166, Thu Feb 16 08:34:49 2006 UTC

# Line 925 | Line 925 | public class ConcurrentHashMap<K, V> ext
925       * @throws NullPointerException if the specified key is null
926       */
927      public boolean remove(Object key, Object value) {
928 +        int hash = hash(key); // throws NullPointerException if key null
929          if (value == null)
930              return false;
930        int hash = hash(key);
931          return segmentFor(hash).remove(key, hash, value) != null;
932      }
933  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines