| Reporter: |
|
Benjamin Bentmann |
| Created: |
|
Sat, 17 May 2008 08:22:05 -0700 (PDT) |
| Updated: |
|
Sun, 18 May 2008 00:36:54 -0700 (PDT) |
| Key: |
|
COLLECTIONS-298 |
| Versions: |
|
Not provided |
| Environment: |
|
|
| Priority: |
|
4 |
| Status: |
|
Closed |
| Resolution: |
|
Fixed |
| Original Link: |
|
http://issues.apache.org/jira/browse/COLLECTIONS-298 |
| Summary: |
|
CollectionUtils.sizeIsEmpty(null) should return true |
Description:
The API would look inconsistent if
<ul class="alternate" type="square">
<li>CollectionUtils.isEmpty(null) == true</li>
<li>CollectionUtils.size(null) == 0
but</li>
<li>CollectionUtils.sizeIsEmpty(null) throws IAE</li>
</ul>
Comments:
| bayard |
Sun, 18 May 2008 00:36:54 -0700 (PDT) |