70000691 : (coll) (doc) ConcurrentLinkedQueue @link to ConcurrentModificationException
Rémi Forax
forax at univ-mlv.fr
Wed Nov 17 00:06:10 UTC 2010
Le 17/11/2010 00:39, Mike Duigou a écrit :
> 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.
Rémi
More information about the core-libs-dev
mailing list