--- old/src/java.base/share/classes/java/util/concurrent/CopyOnWriteArrayList.java 2015-08-07 21:15:25.942583711 +0400
+++ new/src/java.base/share/classes/java/util/concurrent/CopyOnWriteArrayList.java 2015-08-07 21:15:25.738583720 +0400
@@ -225,7 +225,7 @@
* Returns {@code true} if this list contains the specified element.
* More formally, returns {@code true} if and only if this list 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 list is to be tested
* @return {@code true} if this list contains the specified element
@@ -248,7 +248,7 @@
* this list, 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 && (e==null ? get(i)==null : e.equals(get(i)))),
+ * (i >= index && (e==null ? get(i)==null : e.equals(get(i))))
,
* or -1 if there is no such index.
*
* @param e element to search for
@@ -276,7 +276,7 @@
* this list, 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 && (e==null ? get(i)==null : e.equals(get(i)))),
+ * (i <= index && (e==null ? get(i)==null : e.equals(get(i))))
,
* or -1 if there is no such index.
*
* @param e element to search for
@@ -514,7 +514,7 @@
* if it is present. If this list does not contain the element, it is
* unchanged. More formally, removes the element with 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)))
* (if such an element exists). Returns {@code true} if this list
* contained the specified element (or equivalently, if this list
* changed as a result of the call).