--- jsr166/src/main/java/util/AbstractQueue.java 2003/07/31 14:43:27 1.10 +++ jsr166/src/main/java/util/AbstractQueue.java 2003/08/04 01:50:33 1.11 @@ -32,7 +32,7 @@ public abstract class AbstractQueue * @return true (as per the general contract of * Collection.add). * - * @throws NullPointerException if the element is null + * @throws NullPointerException if the specified element is null */ public boolean add(E o) { if (offer(o)) @@ -54,8 +54,9 @@ public abstract class AbstractQueue * @param c collection whose elements are to be added to this queue * @return true if this collection changed as a result of the * call. - * @throws NullPointerException if c is null - * + * @throws NullPointerException if c or any element in c + * is null + * */ public boolean addAll(Collection c) { return super.addAll(c);