You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/03/19 08:00:24 UTC
[jira] Closed: (COLLECTIONS-287) Null-safe Collections.size
[ https://issues.apache.org/jira/browse/COLLECTIONS-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed COLLECTIONS-287.
-------------------------------------
Resolution: Won't Fix
Fix Version/s: (was: 3.4)
3.3
Already there - CollectionUtils.size(Object). Returns 0 if you pass null in. Showed up in 3.1.
> Null-safe Collections.size
> --------------------------
>
> Key: COLLECTIONS-287
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-287
> Project: Commons Collections
> Issue Type: New Feature
> Components: Collection
> Affects Versions: 3.2
> Reporter: Paul Benedict
> Priority: Minor
> Fix For: 3.3
>
>
> It would be nice to retrieve the size of collections and not care whether the collection is null -- returning 0 otherwise.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.