From cf197bd0e08199840e7d045c9a1aac68703eeb4b Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Sun, 18 May 2008 07:34:31 +0000 Subject: [PATCH] Fixing javadoc as per Benjamin Bentmann's patch to COLLECTIONS-297 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@657502 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/collections/CollectionUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/commons/collections/CollectionUtils.java b/src/java/org/apache/commons/collections/CollectionUtils.java index 7d9af5780..f9a51d552 100644 --- a/src/java/org/apache/commons/collections/CollectionUtils.java +++ b/src/java/org/apache/commons/collections/CollectionUtils.java @@ -886,9 +886,9 @@ public class CollectionUtils { *
  • Enumeration - the number of elements remaining in the enumeration * * - * @param object the object to get the size of - * @return the size of the specified collection - * @throws IllegalArgumentException thrown if object is not recognised or null + * @param object the object to get the size of, may be null + * @return the size of the specified collection or 0 if the object was null + * @throws IllegalArgumentException thrown if object is not recognised * @since Commons Collections 3.1 */ public static int size(Object object) {