# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |