--- jsr166/src/main/java/util/Deque.java 2018/04/05 00:03:34 1.41 +++ jsr166/src/main/java/util/Deque.java 2018/10/01 00:10:53 1.42 @@ -164,7 +164,7 @@ package java.util; * {@code Object}. * *

This interface is a member of the - * + * * Java Collections Framework. * * @author Doug Lea @@ -334,10 +334,10 @@ public interface Deque extends Queue< * @return {@code true} if an element was removed as a result of this call * @throws ClassCastException if the class of the specified element * is incompatible with this deque - * (optional) + * (optional) * @throws NullPointerException if the specified element is null and this * deque does not permit null elements - * (optional) + * (optional) */ boolean removeFirstOccurrence(Object o); @@ -353,10 +353,10 @@ public interface Deque extends Queue< * @return {@code true} if an element was removed as a result of this call * @throws ClassCastException if the class of the specified element * is incompatible with this deque - * (optional) + * (optional) * @throws NullPointerException if the specified element is null and this * deque does not permit null elements - * (optional) + * (optional) */ boolean removeLastOccurrence(Object o); @@ -536,10 +536,10 @@ public interface Deque extends Queue< * @return {@code true} if an element was removed as a result of this call * @throws ClassCastException if the class of the specified element * is incompatible with this deque - * (optional) + * (optional) * @throws NullPointerException if the specified element is null and this * deque does not permit null elements - * (optional) + * (optional) */ boolean remove(Object o); @@ -552,10 +552,10 @@ public interface Deque extends Queue< * @return {@code true} if this deque contains the specified element * @throws ClassCastException if the class of the specified element * is incompatible with this deque - * (optional) + * (optional) * @throws NullPointerException if the specified element is null and this * deque does not permit null elements - * (optional) + * (optional) */ boolean contains(Object o);