ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/extra/ReadMostlyVector.java
(Generate patch)

Comparing jsr166/src/jsr166e/extra/ReadMostlyVector.java (file contents):
Revision 1.14 by jsr166, Sun Dec 4 01:25:16 2011 UTC vs.
Revision 1.16 by jsr166, Sat Dec 31 05:35:16 2011 UTC

# Line 954 | Line 954 | public class ReadMostlyVector<E>
954                  if (index < 0)
955                      ex = true;
956                  else
957 <                    idx = rawIndexOf(o, 0, count);
957 >                    idx = rawIndexOf(o, index, count);
958              } finally {
959                  lock.unlock();
960              }
# Line 1136 | Line 1136 | public class ReadMostlyVector<E>
1136          }
1137      }
1138  
1139 <    static final class Itr<E> implements ListIterator<E>, Enumeration<E>  {
1139 >    static final class Itr<E> implements ListIterator<E>, Enumeration<E> {
1140          final ReadMostlyVector<E> list;
1141          final SequenceLock lock;
1142          Object[] items;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines