# | Line 684 | Line 684 | public class LinkedBlockingDeque<E> | |
---|---|---|
684 | final ReentrantLock lock = LinkedBlockingDeque.this.lock; | |
685 | lock.lock(); | |
686 | try { | |
687 | < | next = (next == null)? first : next.next; |
688 | < | nextItem = (next == null)? null : next.item; |
687 | > | next = (next == null) ? first : next.next; |
688 | > | nextItem = (next == null) ? null : next.item; |
689 | } finally { | |
690 | lock.unlock(); | |
691 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |