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.68 by jsr166, Wed May 18 06:48:23 2005 UTC vs.
Revision 1.69 by jsr166, Wed May 18 18:15:01 2005 UTC

# 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      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines