# | 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) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |