--- jsr166/src/jsr166x/BlockingDeque.java 2009/11/16 04:16:42 1.2 +++ jsr166/src/jsr166x/BlockingDeque.java 2010/09/07 06:03:19 1.3 @@ -187,7 +187,7 @@ public interface BlockingDeque extend /** * Adds the specified element as the last element of this deque, * waiting if necessary for space to become available. This - * method is equivalent to to putLast + * method is equivalent to putLast * @param o the element to add * @throws InterruptedException if interrupted while waiting. * @throws NullPointerException if the specified element is null. @@ -200,7 +200,7 @@ public interface BlockingDeque extend * insertion restrictions (for example capacity bounds), method * offer is generally preferable to method {@link * Collection#add}, which can fail to insert an element only by - * throwing an exception. This method is equivalent to to + * throwing an exception. This method is equivalent to * offerLast * * @param o the element to add. @@ -214,7 +214,7 @@ public interface BlockingDeque extend /** * Retrieves and removes the first element of this deque, waiting * if no elements are present on this deque. - * This method is equivalent to to takeFirst + * This method is equivalent to takeFirst * @return the head of this deque * @throws InterruptedException if interrupted while waiting. */ @@ -223,7 +223,7 @@ public interface BlockingDeque extend /** * Retrieves and removes the first element of this deque, waiting * if necessary up to the specified wait time if no elements are - * present on this deque. This method is equivalent to to + * present on this deque. This method is equivalent to * pollFirst * @param timeout how long to wait before giving up, in units of * unit