commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (COLLECTIONS-223) CollectionUtils.addAll() methods should return the input collection
Date Wed, 23 Aug 2006 02:12:13 GMT
CollectionUtils.addAll() methods should return the input collection
-------------------------------------------------------------------

                 Key: COLLECTIONS-223
                 URL: http://issues.apache.org/jira/browse/COLLECTIONS-223
             Project: Commons Collections
          Issue Type: Improvement
          Components: Collection
    Affects Versions: 3.2
            Reporter: Vasily Ivanov
            Priority: Minor


Like MapUtils.putAll() method returns input map, CollectionUtils.addAll() methods should return
the input collection.

This will allow to init and populate collection at the same line:
ArrayList inputs = (ArrayList) CollectionUtils.addAll(new ArrayList(), new String[] { "value1",
"value2" });

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message