70000691 : (coll) (doc) ConcurrentLinkedQueue @link to ConcurrentModificationException
Alan Bateman
Alan.Bateman at oracle.com
Wed Nov 17 09:00:44 UTC 2010
Mike Duigou wrote:
> I'll ask the same as Alan for a small doc review for ConcurrentLinkedQueue
>
> Thanks,
> Mike
>
> diff --git a/src/share/classes/java/util/concurrent/ConcurrentLinkedQueue.java b/src/share/classes/java/util/concurrent/ConcurrentLinkedQueue.java
> --- a/src/share/classes/java/util/concurrent/ConcurrentLinkedQueue.java
> +++ b/src/share/classes/java/util/concurrent/ConcurrentLinkedQueue.java
> @@ -65,8 +65,8 @@
> * <p>Iterators are <i>weakly consistent</i>, returning elements
> * reflecting the state of the queue at some point at or since the
> * creation of the iterator. They do <em>not</em> throw {@link
> - * ConcurrentModificationException}, and may proceed concurrently with
> - * other operations. Elements contained in the queue since the creation
> + * java.util.ConcurrentModificationException}, and may proceed concurrently
> + * with other operations. Elements contained in the queue since the creation
> * of the iterator will be returned exactly once.
> *
> * <p>Beware that, unlike in most collections, the {@code size} method
>
>
Looks good to me too.
-Alan.
More information about the core-libs-dev
mailing list