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

Comparing jsr166/src/main/java/util/ArrayList.java (file contents):
Revision 1.27 by jsr166, Sun May 18 23:59:57 2008 UTC vs.
Revision 1.28 by jsr166, Mon May 19 00:32:45 2008 UTC

# Line 892 | Line 892 | public class ArrayList<E> extends Abstra
892          private final AbstractList<E> parent;
893          private final int parentOffset;
894          private final int offset;
895 <        private int size;
895 >        int size;
896  
897          SubList(AbstractList<E> parent,
898                  int offset, int fromIndex, int toIndex) {
# Line 971 | Line 971 | public class ArrayList<E> extends Abstra
971          public ListIterator<E> listIterator(final int index) {
972              checkForComodification();
973              rangeCheckForAdd(index);
974 +            final int offset = this.offset;
975  
976              return new ListIterator<E>() {
977                  int cursor = index;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines