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