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.56 by jsr166, Mon Aug 13 18:49:36 2012 UTC vs.
Revision 1.58 by jsr166, Tue Aug 14 05:55:08 2012 UTC

# Line 2327 | Line 2327 | public class ConcurrentHashMapV8<K, V>
2327          }
2328  
2329          public final void remove() {
2330 <            if (nextVal == null)
2330 >            if (nextVal == null && last == null)
2331                  advance();
2332              Node e = last;
2333              if (e == null)
# Line 4374 | Line 4374 | public class ConcurrentHashMapV8<K, V>
4374              return new ReduceKeysTask<K,V>
4375                  (map, reducer);
4376          }
4377 +
4378          /**
4379           * Returns a task that when invoked, returns the result of
4380           * accumulating the given transformation of all keys using the given

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines