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.169 by dl, Mon Aug 14 12:50:06 2017 UTC vs.
Revision 1.170 by dl, Mon Aug 14 15:10:28 2017 UTC

# Line 2073 | Line 2073 | public class ConcurrentSkipListMap<K,V>
2073          final void advance(Node<K,V> b) {
2074              Node<K,V> n = null;
2075              V v = null;
2076 <            if ((lastReturned = b) != null)
2077 <                do {} while ((n = b.next) != null && (v = n.val) == null);
2076 >            if ((lastReturned = b) != null) {
2077 >                while ((n = b.next) != null && (v = n.val) == null)
2078 >                    b = n;
2079 >            }
2080              nextValue = v;
2081              next = n;
2082          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines