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

Thomas Neidhart resolved COLLECTIONS-298.
-----------------------------------------

    Resolution: Fixed
    
> CollectionUtils.sizeIsEmpty(null) should return true
> ----------------------------------------------------
>
>                 Key: COLLECTIONS-298
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-298
>             Project: Commons Collections
>          Issue Type: Wish
>          Components: Collection
>    Affects Versions: 3.2
>            Reporter: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: COLLECTION-298.patch
>
>
> The API would look inconsistent if
> - CollectionUtils.isEmpty(null) == true
> - CollectionUtils.size(null) == 0
> but
> - CollectionUtils.sizeIsEmpty(null) throws IAE

--
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

Reply via email to