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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]