ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/ConcurrentHashMapV8.java
(Generate patch)

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.2 by dl, Mon Aug 29 17:06:20 2011 UTC vs.
Revision 1.3 by jsr166, Tue Aug 30 07:18:46 2011 UTC

# Line 1187 | Line 1187 | public class ConcurrentHashMapV8<K, V>
1187      public V remove(Object key) {
1188          if (key == null)
1189              throw new NullPointerException();
1190 <        return (V)internalReplace(key, null, null);
1190 >        return (V)internalReplace(key, null, null);
1191      }
1192  
1193      /**
# Line 1211 | Line 1211 | public class ConcurrentHashMapV8<K, V>
1211      public boolean replace(K key, V oldValue, V newValue) {
1212          if (key == null || oldValue == null || newValue == null)
1213              throw new NullPointerException();
1214 <        return internalReplace(key, newValue, oldValue) != null;
1214 >        return internalReplace(key, newValue, oldValue) != null;
1215      }
1216  
1217      /**
# Line 1225 | Line 1225 | public class ConcurrentHashMapV8<K, V>
1225      public V replace(K key, V value) {
1226          if (key == null || value == null)
1227              throw new NullPointerException();
1228 <        return (V)internalReplace(key, value, null);
1228 >        return (V)internalReplace(key, value, null);
1229      }
1230  
1231      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines