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

Comparing jsr166/src/jdk7/java/util/concurrent/CopyOnWriteArrayList.java (file contents):
Revision 1.4 by jsr166, Sun Jul 14 22:29:33 2013 UTC vs.
Revision 1.5 by jsr166, Sun Jul 14 22:40:38 2013 UTC

# Line 961 | Line 961 | public class CopyOnWriteArrayList<E>
961       *
962       * @throws IndexOutOfBoundsException {@inheritDoc}
963       */
964 <    public ListIterator<E> listIterator(final int index) {
964 >    public ListIterator<E> listIterator(int index) {
965          Object[] elements = getArray();
966          int len = elements.length;
967          if (index < 0 || index > len)
# Line 1213 | Line 1213 | public class CopyOnWriteArrayList<E>
1213              }
1214          }
1215  
1216 <        public ListIterator<E> listIterator(final int index) {
1216 >        public ListIterator<E> listIterator(int index) {
1217              final ReentrantLock lock = l.lock;
1218              lock.lock();
1219              try {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines