You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/07/19 02:30:08 UTC
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections CollectionUtils.java
scolebourne 2003/07/18 17:30:08
Modified: collections/src/java/org/apache/commons/collections
CollectionUtils.java
Log:
Javadoc improvement
prompted by K.C. Baltz
Revision Changes Path
1.33 +5 -3 jakarta-commons/collections/src/java/org/apache/commons/collections/CollectionUtils.java
Index: CollectionUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/CollectionUtils.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- CollectionUtils.java 11 May 2003 14:12:46 -0000 1.32
+++ CollectionUtils.java 19 Jul 2003 00:30:08 -0000 1.33
@@ -909,7 +909,9 @@
/**
* Returns a predicated collection backed by the given collection.
* Only objects that pass the test in the given predicate can be
- * added to the collection.
+ * added to the collection. Throws an IllegalArgumentException on adding
+ * an element if it is invalid.
+ * <p>
* It is important not to use the original collection after invoking this
* method, as it is a backdoor for adding unvalidated objects.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org