You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/06/08 16:34:00 UTC

[jira] [Comment Edited] (LANG-1392) StringUtils.firstNonBlank and firstNonEmpty

    [ https://issues.apache.org/jira/browse/LANG-1392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506238#comment-16506238 ] 

Gary Gregory edited comment on LANG-1392 at 6/8/18 4:33 PM:
------------------------------------------------------------

The Javadoc needs improvement: What is a "blank"? IMO, the text for all "blank" APIs should mention "whitespace" and the use of {{java.lang.Character.isWhitespace(char|int)}}.

 


was (Author: garydgregory):
The Javadoc needs improvement: What is a "blank"? IMO, the text for all "blank" APIs should mention "whitespace" and the use of java.lang.Character.isWhitespace(char|int).

 

> StringUtils.firstNonBlank and firstNonEmpty
> -------------------------------------------
>
>                 Key: LANG-1392
>                 URL: https://issues.apache.org/jira/browse/LANG-1392
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: Jeffrey P Nelson
>            Assignee: Pascal Schumacher
>            Priority: Major
>             Fix For: 3.8
>
>
> 2 new methods in *StringUtils* that for retrieving the first *CharSequence* in a list that is not blank or not empty. These will follow the same pattern as is used in *ObjectUtils.firstNonNull(T ... values)*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)