--- jsr166/src/jsr166x/LinkedBlockingDeque.java 2009/11/16 04:16:42 1.3 +++ jsr166/src/jsr166x/LinkedBlockingDeque.java 2010/11/29 20:58:06 1.5 @@ -50,7 +50,7 @@ public class LinkedBlockingDeque /** Doubly-linked list node class */ static final class Node { - E item; + E item; Node prev; Node next; Node(E x, Node p, Node n) { @@ -684,8 +684,8 @@ public class LinkedBlockingDeque final ReentrantLock lock = LinkedBlockingDeque.this.lock; lock.lock(); try { - next = (next == null)? first : next.next; - nextItem = (next == null)? null : next.item; + next = (next == null) ? first : next.next; + nextItem = (next == null) ? null : next.item; } finally { lock.unlock(); }