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

Comparing jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java (file contents):
Revision 1.105 by jsr166, Tue Dec 27 16:15:44 2016 UTC vs.
Revision 1.106 by jsr166, Wed Dec 28 04:52:39 2016 UTC

# Line 711 | Line 711 | public class LinkedBlockingQueue<E> exte
711       * - (possibly multiple) interior removed nodes (p.item == null)
712       */
713      Node<E> succ(Node<E> p) {
714 <        return (p == (p = p.next)) ? head.next : p;
714 >        if (p == (p = p.next))
715 >            p = head.next;
716 >        return p;
717      }
718  
719      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines