From 421a30912d4ed275180f2fec8c1043cfe733d31a Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Sat, 19 Jul 2003 00:30:08 +0000 Subject: [PATCH] Javadoc improvement prompted by K.C. Baltz git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131111 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/collections/CollectionUtils.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/commons/collections/CollectionUtils.java b/src/java/org/apache/commons/collections/CollectionUtils.java index ff8a5deb2..24cd09b53 100644 --- a/src/java/org/apache/commons/collections/CollectionUtils.java +++ b/src/java/org/apache/commons/collections/CollectionUtils.java @@ -1,5 +1,5 @@ /* - * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/CollectionUtils.java,v 1.32 2003/05/11 14:12:46 scolebourne Exp $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/CollectionUtils.java,v 1.33 2003/07/19 00:30:08 scolebourne Exp $ * ==================================================================== * * The Apache Software License, Version 1.1 @@ -81,7 +81,7 @@ import org.apache.commons.collections.iterators.EnumerationIterator; * A set of {@link Collection} related utility methods. * * @since Commons Collections 1.0 - * @version $Revision: 1.32 $ $Date: 2003/05/11 14:12:46 $ + * @version $Revision: 1.33 $ $Date: 2003/07/19 00:30:08 $ * * @author Rodney Waldhoff * @author Paul Jack @@ -909,7 +909,9 @@ public class CollectionUtils { /** * 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. + *

* It is important not to use the original collection after invoking this * method, as it is a backdoor for adding unvalidated objects. *