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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedQueue.java (file contents):
Revision 1.152 by jsr166, Sun Jan 8 03:48:36 2017 UTC vs.
Revision 1.153 by jsr166, Sat Jan 14 01:04:52 2017 UTC

# Line 809 | Line 809 | public class ConcurrentLinkedQueue<E> ex
809              Node<E> newNode = newNode((E) item);
810              if (h == null)
811                  h = t = newNode;
812 <            else {
813 <                NEXT.set(t, newNode);
814 <                t = newNode;
815 <            }
812 >            else
813 >                NEXT.set(t, t = newNode);
814          }
815          if (h == null)
816              h = t = newNode(null);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines