[cvs] / jsr166 / src / main / java / util / concurrent / LinkedTransferQueue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.157, Sat May 6 06:49:46 2017 UTC revision 1.158, Sun Jan 7 03:58:45 2018 UTC
# Line 1573  Line 1573 
1573          // Read in elements until trailing null sentinel found          // Read in elements until trailing null sentinel found
1574          Node h = null, t = null;          Node h = null, t = null;
1575          for (Object item; (item = s.readObject()) != null; ) {          for (Object item; (item = s.readObject()) != null; ) {
1576              @SuppressWarnings("unchecked")              Node newNode = new Node(item);
             Node newNode = new Node((E) item);  
1577              if (h == null)              if (h == null)
1578                  h = t = newNode;                  h = t = newNode;
1579              else              else

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.158

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8