[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.124, Thu Dec 29 03:28:53 2016 UTC revision 1.125, Thu Dec 29 03:51:47 2016 UTC
# Line 971  Line 971 
971          }          }
972    
973          public final E next() {          public final E next() {
974              Node p = nextNode;              final Node p;
975              if (p == null) throw new NoSuchElementException();              if ((p = nextNode) == null) throw new NoSuchElementException();
976              E e = nextItem;              E e = nextItem;
977              advance(p);              advance(p);
978              return e;              return e;

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8