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

Comparing jsr166/src/main/java/util/Vector.java (file contents):
Revision 1.3 by dl, Sun Nov 27 14:54:23 2005 UTC vs.
Revision 1.4 by jsr166, Mon Nov 28 03:28:25 2005 UTC

# Line 1117 | Line 1117 | public class Vector<E>
1117                      throw new ConcurrentModificationException();
1118              }
1119          }
1120 <        public E previous() {
1120 >
1121 >        public E previous() {
1122              try {
1123                  int i = cursor - 1;
1124                  E prev = get(i);
# Line 1143 | Line 1144 | public class Vector<E>
1144                      cursor--;
1145                  lastRet = -1;
1146                  expectedModCount = modCount;
1147 <            } catch (IndexOutOfBoundsException e) {
1147 >            } catch (IndexOutOfBoundsException ex) {
1148                  throw new ConcurrentModificationException();
1149              }
1150          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines