commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r657502 - /commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java
Date Sun, 18 May 2008 07:34:31 GMT
Author: bayard
Date: Sun May 18 00:34:31 2008
New Revision: 657502

URL: http://svn.apache.org/viewvc?rev=657502&view=rev
Log:
Fixing javadoc as per Benjamin Bentmann's patch to COLLECTIONS-297

Modified:
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java?rev=657502&r1=657501&r2=657502&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/CollectionUtils.java
Sun May 18 00:34:31 2008
@@ -886,9 +886,9 @@
      * <li>Enumeration - the number of elements remaining in the enumeration
      * </ul>
      * 
-     * @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) {



Mime
View raw message