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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]