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.49 by jsr166, Sat Apr 28 16:25:34 2018 UTC vs.
Revision 1.54 by jsr166, Thu May 2 14:31:30 2019 UTC

# Line 73 | Line 73 | import java.util.function.UnaryOperator;
73   *
74   * <p>As of the Java 2 platform v1.2, this class was retrofitted to
75   * implement the {@link List} interface, making it a member of the
76 < * <a href="{@docRoot}/java/util/package-summary.html#CollectionsFramework">
76 > * <a href="{@docRoot}/java.base/java/util/package-summary.html#CollectionsFramework">
77   * Java Collections Framework</a>.  Unlike the new collection
78   * implementations, {@code Vector} is synchronized.  If a thread-safe
79   * implementation is not needed, it is recommended to use {@link
# Line 1411 | Line 1411 | public class Vector<E>
1411              es[i] = operator.apply(elementAt(es, i));
1412          if (modCount != expectedModCount)
1413              throw new ConcurrentModificationException();
1414 +        // TODO(8203662): remove increment of modCount from ...
1415          modCount++;
1416          // checkInvariants();
1417      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines