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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

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

Walter Laan (Jira)

     [ 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