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

Comparing jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java (file contents):
Revision 1.4 by dl, Sat Jun 7 18:20:20 2003 UTC vs.
Revision 1.5 by dl, Sun Jun 22 23:51:37 2003 UTC

# Line 48 | Line 48 | public class LinkedBlockingQueue<E> exte
48      private transient Node<E> head = new Node<E>(null);
49      private transient Node<E> last = head;
50  
51 <    private transient final ReentrantLock takeLock = new ReentrantLock();
52 <    private transient final Condition notEmpty = takeLock.newCondition();
51 >    private final ReentrantLock takeLock = new ReentrantLock();
52 >    private final Condition notEmpty = takeLock.newCondition();
53  
54 <    private transient final ReentrantLock putLock = new ReentrantLock();
55 <    private transient final Condition notFull = putLock.newCondition();
54 >    private final ReentrantLock putLock = new ReentrantLock();
55 >    private final Condition notFull = putLock.newCondition();
56  
57  
58      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines