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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedDeque.java (file contents):
Revision 1.52 by jsr166, Sun Nov 23 17:44:51 2014 UTC vs.
Revision 1.53 by jsr166, Sun Nov 23 18:20:26 2014 UTC

# Line 1519 | Line 1519 | public class ConcurrentLinkedDeque<E>
1519  
1520          // Read in elements until trailing null sentinel found
1521          Node<E> h = null, t = null;
1522 <        Object item;
1523 <        while ((item = s.readObject()) != null) {
1522 >        for (Object item; (item = s.readObject()) != null; ) {
1523              @SuppressWarnings("unchecked")
1524              Node<E> newNode = new Node<E>((E) item);
1525              if (h == null)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines