You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/26 20:07:20 UTC
[jira] [Commented] (LANG-1270) Add StringUtils#isAnyNotEmpty and
#isAnyNotBlank
[ https://issues.apache.org/jira/browse/LANG-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15524036#comment-15524036 ]
ASF GitHub Bot commented on LANG-1270:
--------------------------------------
Github user PascalSchumacher commented on the issue:
https://github.com/apache/commons-lang/pull/193
I agree with both of you.
An empty array does not contain any non-empty/non-blank `CharSequence`s, so `isAnyNotEmpty`/`isAnyNotBlank` should return `false` for an empty array.
An empty array does not contain any empty/blank `CharSequence`s, so `isAnyEmpty`/`isAnyBlank` should return `false` for an empty array.
I created two jira issues: one for the addition: https://issues.apache.org/jira/browse/LANG-1270 and one the purposed change: https://issues.apache.org/jira/browse/LANG-1271
> Add StringUtils#isAnyNotEmpty and #isAnyNotBlank
> ------------------------------------------------
>
> Key: LANG-1270
> URL: https://issues.apache.org/jira/browse/LANG-1270
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Reporter: Pascal Schumacher
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)