commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COLLECTIONS-298) CollectionUtils.sizeIsEmpty(null) should return true
Date Sat, 17 May 2008 15:23:55 GMT

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

Benjamin Bentmann updated COLLECTIONS-298:
------------------------------------------

    Attachment: COLLECTION-298.patch

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


Mime
View raw message