You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/03/17 20:37:14 UTC

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

     [ https://issues.apache.org/jira/browse/COLLECTIONS-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart resolved COLLECTIONS-375.
-----------------------------------------

    Resolution: Fixed

Added in r1457533.

Thanks for the report.
                
> 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
>              Labels: features
>             Fix For: 4.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> It will be nice to have a method like StringUtils.defaultIfEmpty(), e.g., ListUtils.defaultIfNull(referenceToAList, someOtherList)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira