--- jsr166/src/main/java/util/TreeSet.java 2004/12/28 12:14:07 1.1 +++ jsr166/src/main/java/util/TreeSet.java 2005/03/06 12:06:17 1.2 @@ -199,7 +199,7 @@ public class TreeSet * * @throws ClassCastException if the specified object cannot be compared * with the elements currently in the set. - * @throws NullPointerException o is null and this map + * @throws NullPointerException if o is null and this map * uses natural ordering and is non-empty, or its comparator does * not tolerate null keys. */ @@ -216,7 +216,7 @@ public class TreeSet * * @throws ClassCastException if the specified object cannot be compared * with the elements currently in the set. - * @throws NullPointerException o is null and this map + * @throws NullPointerException if o is null and this map * uses natural ordering and is non-empty, or its comparator does * not tolerate null keys. */ @@ -232,7 +232,7 @@ public class TreeSet * * @throws ClassCastException if the specified object cannot be compared * with the elements currently in the set. - * @throws NullPointerException o is null and this map + * @throws NullPointerException if o is null and this map * uses natural ordering and is non-empty, or its comparator does * not tolerate null keys. */ @@ -448,7 +448,7 @@ public class TreeSet * null if there is no such element. * @throws ClassCastException if o cannot be compared with the elements * currently in the set. - * @throws NullPointerException o is null and this map + * @throws NullPointerException if o is null and this map * uses natural ordering and is non-empty, or its comparator does * not tolerate null keys. */ @@ -465,7 +465,7 @@ public class TreeSet * null if there is no such element. * @throws ClassCastException if o cannot be compared with the elements * currently in the set. - * @throws NullPointerException o is null and this map + * @throws NullPointerException if o is null and this map * uses natural ordering and is non-empty, or its comparator does * not tolerate null keys. */ @@ -482,7 +482,7 @@ public class TreeSet * element, or null if there is no such element. * @throws ClassCastException if o cannot be compared with the elements * currently in the set. - * @throws NullPointerException o is null and this map + * @throws NullPointerException if o is null and this map * uses natural ordering and is non-empty, or its comparator does * not tolerate null keys. */ @@ -499,7 +499,7 @@ public class TreeSet * null if there is no such element. * @throws ClassCastException if o cannot be compared with the elements * currently in the set. - * @throws NullPointerException o is null and this map + * @throws NullPointerException if o is null and this map * uses natural ordering and is non-empty, or its comparator does * not tolerate null keys. */