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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentMap.java (file contents):
Revision 1.65 by jsr166, Wed Sep 30 00:03:02 2015 UTC vs.
Revision 1.66 by jsr166, Sat Dec 12 20:13:58 2015 UTC

# Line 365 | Line 365 | public interface ConcurrentMap<K,V> exte
365       * <pre> {@code
366       * V oldValue = map.get(key);
367       * V newValue = remappingFunction.apply(key, oldValue);
368 <     * if (oldValue != null ) {
368 >     * if (oldValue != null) {
369       *   if (newValue != null)
370       *     map.replace(key, oldValue, newValue);
371       *   else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines