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

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

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

Otto Fowler (Jira)

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

Thomas Neidhart updated COLLECTIONS-375:
----------------------------------------

    Fix Version/s: 4.0
   

> 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