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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentSkipListMap.java (file contents):
Revision 1.53 by jsr166, Thu Jun 8 08:27:40 2006 UTC vs.
Revision 1.54 by jsr166, Mon May 21 20:44:26 2007 UTC

# Line 2231 | Line 2231 | public class ConcurrentSkipListMap<K,V>
2231  
2232          /** Advances next to higher entry. */
2233          final void advance() {
2234 <            if ((lastReturned = next) == null)
2234 >            if (next == null)
2235                  throw new NoSuchElementException();
2236 +            lastReturned = next;
2237              for (;;) {
2238                  next = next.next;
2239                  if (next == null)
# Line 3036 | Line 3037 | public class ConcurrentSkipListMap<K,V>
3037              }
3038  
3039              final void advance() {
3040 <                if ((lastReturned = next) == null)
3040 >                if (next == null)
3041                      throw new NoSuchElementException();
3042 +                lastReturned = next;
3043                  if (isDescending)
3044                      descend();
3045                  else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines