--- old/src/java.base/share/classes/java/util/Vector.java 2015-08-07 21:15:24.818583762 +0400
+++ new/src/java.base/share/classes/java/util/Vector.java 2015-08-07 21:15:24.610583771 +0400
@@ -365,7 +365,7 @@
* Returns {@code true} if this vector contains the specified element.
* More formally, returns {@code true} if and only if this vector
* contains at least one element {@code e} such that
- * (o==null ? e==null : o.equals(e)).
+ * (o==null ? e==null : o.equals(e))
.
*
* @param o element whose presence in this vector is to be tested
* @return {@code true} if this vector contains the specified element
@@ -378,7 +378,7 @@
* Returns the index of the first occurrence of the specified element
* in this vector, or -1 if this vector does not contain the element.
* More formally, returns the lowest index {@code i} such that
- * (o==null ? get(i)==null : o.equals(get(i))),
+ * (o==null ? get(i)==null : o.equals(get(i)))
,
* or -1 if there is no such index.
*
* @param o element to search for
@@ -394,7 +394,7 @@
* this vector, searching forwards from {@code index}, or returns -1 if
* the element is not found.
* More formally, returns the lowest index {@code i} such that
- * (i >= index && (o==null ? get(i)==null : o.equals(get(i)))),
+ * (i >= index && (o==null ? get(i)==null : o.equals(get(i))))
,
* or -1 if there is no such index.
*
* @param o element to search for
@@ -422,7 +422,7 @@
* Returns the index of the last occurrence of the specified element
* in this vector, or -1 if this vector does not contain the element.
* More formally, returns the highest index {@code i} such that
- * (o==null ? get(i)==null : o.equals(get(i))),
+ * (o==null ? get(i)==null : o.equals(get(i)))
,
* or -1 if there is no such index.
*
* @param o element to search for
@@ -438,7 +438,7 @@
* this vector, searching backwards from {@code index}, or returns -1 if
* the element is not found.
* More formally, returns the highest index {@code i} such that
- * (i <= index && (o==null ? get(i)==null : o.equals(get(i)))),
+ * (i <= index && (o==null ? get(i)==null : o.equals(get(i))))
,
* or -1 if there is no such index.
*
* @param o element to search for