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.157 by jsr166, Sat May 6 06:49:46 2017 UTC vs.
Revision 1.158 by jsr166, Sun Jan 7 03:58:45 2018 UTC

# Line 1573 | Line 1573 | public class LinkedTransferQueue<E> exte
1573          // Read in elements until trailing null sentinel found
1574          Node h = null, t = null;
1575          for (Object item; (item = s.readObject()) != null; ) {
1576 <            @SuppressWarnings("unchecked")
1577 <            Node newNode = new Node((E) item);
1576 >            Node newNode = new Node(item);
1577              if (h == null)
1578                  h = t = newNode;
1579              else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines