[
https://issues.apache.org/jira/browse/COLLECTIONS-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Yandell closed COLLECTIONS-298.
-------------------------------------
Resolution: Fixed
Fix Version/s: 3.3
Agreed - patch applied. Thanks again :)
> 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: 3.3
>
> 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.
-
You can reply to this email to add a comment to the issue online.