You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ivan Hristov (JIRA)" <ji...@apache.org> on 2011/06/06 16:42:58 UTC

[jira] [Created] (COLLECTIONS-375) empty if null collection

empty if null collection
------------------------

                 Key: COLLECTIONS-375
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-375
             Project: Commons Collections
          Issue Type: Improvement
          Components: Collection
            Reporter: Ivan Hristov
            Priority: Minor


It will be nice to have a method like StringUtils.defaultIfEmpty(), e.g., ListUtils.defaultIfNull(referenceToAList, someOtherList)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira