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

Comparing jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java (file contents):
Revision 1.158 by jsr166, Sun Jan 7 03:58:45 2018 UTC vs.
Revision 1.159 by jsr166, Sun Jan 7 16:37:50 2018 UTC

# Line 743 | Line 743 | public class LinkedTransferQueue<E> exte
743          Node first = null;
744          restartFromHead: for (;;) {
745              Node h = head, p = h;
746 <            for (; p != null;) {
747 <                final Object item;
748 <                if ((item = p.item) != null) {
746 >            while (p != null) {
747 >                if (p.item != null) {
748                      if (p.isData) {
749                          first = p;
750                          break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines