Skip to content

Commit c7b70a1

Browse files
kabutzliach
authored andcommitted
8354111: JavaDoc states that Iterator.remove() is linear in the LinkedBlockingDeque
Reviewed-by: liach, smarks
1 parent 92e52fe commit c7b70a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.base/share/classes/java/util/concurrent/LinkedBlockingDeque.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
* blocking). Exceptions include {@link #remove(Object) remove},
6262
* {@link #removeFirstOccurrence removeFirstOccurrence}, {@link
6363
* #removeLastOccurrence removeLastOccurrence}, {@link #contains
64-
* contains}, {@link #iterator iterator.remove()}, and the bulk
65-
* operations, all of which run in linear time.
64+
* contains}, and the bulk operations, all of which run in linear
65+
* time.
6666
*
6767
* <p>This class and its iterator implement all of the <em>optional</em>
6868
* methods of the {@link Collection} and {@link Iterator} interfaces.

0 commit comments

Comments
 (0)