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