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
This commit is contained in:
Henri Yandell 2008-05-18 07:34:31 +00:00
parent 015f5a8724
commit cf197bd0e0
1 changed files with 3 additions and 3 deletions

View File

@ -886,9 +886,9 @@ public class CollectionUtils {
* <li>Enumeration - the number of elements remaining in the enumeration * <li>Enumeration - the number of elements remaining in the enumeration
* </ul> * </ul>
* *
* @param object the object to get the size of * @param object the object to get the size of, may be null
* @return the size of the specified collection * @return the size of the specified collection or 0 if the object was null
* @throws IllegalArgumentException thrown if object is not recognised or null * @throws IllegalArgumentException thrown if object is not recognised
* @since Commons Collections 3.1 * @since Commons Collections 3.1
*/ */
public static int size(Object object) { public static int size(Object object) {