--- old/src/java.base/share/classes/java/util/Deque.java 2015-08-07 21:14:56.514585033 +0400
+++ new/src/java.base/share/classes/java/util/Deque.java 2015-08-07 21:14:56.310585042 +0400
@@ -344,7 +344,7 @@
* Removes the first occurrence of the specified element from this deque.
* If the deque does not contain the element, it is unchanged.
* More formally, removes the first element {@code e} such that
- * (o==null ? e==null : o.equals(e))
+ * (o==null ? e==null : o.equals(e))
* (if such an element exists).
* Returns {@code true} if this deque contained the specified element
* (or equivalently, if this deque changed as a result of the call).
@@ -364,7 +364,7 @@
* Removes the last occurrence of the specified element from this deque.
* If the deque does not contain the element, it is unchanged.
* More formally, removes the last element {@code e} such that
- * (o==null ? e==null : o.equals(e))
+ * (o==null ? e==null : o.equals(e))
* (if such an element exists).
* Returns {@code true} if this deque contained the specified element
* (or equivalently, if this deque changed as a result of the call).
@@ -521,7 +521,7 @@
* Removes the first occurrence of the specified element from this deque.
* If the deque does not contain the element, it is unchanged.
* More formally, removes the first element {@code e} such that
- * (o==null ? e==null : o.equals(e))
+ * (o==null ? e==null : o.equals(e))
* (if such an element exists).
* Returns {@code true} if this deque contained the specified element
* (or equivalently, if this deque changed as a result of the call).
@@ -543,7 +543,7 @@
* Returns {@code true} if this deque contains the specified element.
* More formally, returns {@code true} if and only if this deque 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 deque is to be tested
* @return {@code true} if this deque contains the specified element