commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LANG-583) Add ArrayUtils.isNotEmpty method
Date Wed, 03 Feb 2010 07:21:19 GMT

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

Henri Yandell closed LANG-583.
------------------------------

    Resolution: Fixed

Patch applied.

I flattened the if statements into return statements, and changed to assertTrue/False per
sebb's comment. 

svn ci -m "Applying Chandrashekar M's patch to LANG-583, adding isNotEmpty(array) methods
to ArrayUtils. "
Sending        src/main/java/org/apache/commons/lang3/ArrayUtils.java
Sending        src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
Transmitting file data ..
Committed revision 905917.


> Add ArrayUtils.isNotEmpty method
> --------------------------------
>
>                 Key: LANG-583
>                 URL: https://issues.apache.org/jira/browse/LANG-583
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Urszula Krukar
>             Fix For: 3.0
>
>         Attachments: ArrayUtilsIsNotEmpty.patch
>
>
> This would come in handy to have both isEmpty and isNotEmpty methods, it would be consistent
with [CollectionUtils|http://commons.apache.org/collections/apidocs/org/apache/commons/collections/CollectionUtils.html].

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