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

Comparing jsr166/src/main/java/util/concurrent/CopyOnWriteArrayList.java (file contents):
Revision 1.94 by jsr166, Wed Jan 16 21:18:51 2013 UTC vs.
Revision 1.95 by jsr166, Fri Jan 18 04:23:28 2013 UTC

# Line 72 | Line 72 | public class CopyOnWriteArrayList<E>
72      private static final long serialVersionUID = 8673264195747942595L;
73  
74      /** The lock protecting all mutators */
75 <    transient final ReentrantLock lock = new ReentrantLock();
75 >    final transient ReentrantLock lock = new ReentrantLock();
76  
77      /** The array, accessed only via getArray/setArray. */
78 <    private volatile transient Object[] array;
78 >    private transient volatile Object[] array;
79  
80      /**
81       * Gets the array.  Non-private so as to also be accessible

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines