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 2018/04/24 22:35:00 UTC
[jira] [Commented] (LANG-1391) Improve Javadoc for
StringUtils.isAnyEmpty(null)
[ https://issues.apache.org/jira/browse/LANG-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451344#comment-16451344 ]
ASF GitHub Bot commented on LANG-1391:
--------------------------------------
GitHub user coms opened a pull request:
https://github.com/apache/commons-lang/pull/326
[LANG-1391] Improve Javadoc for StringUtils methods
Improved Javadoc for null cases. Methods: StringUtils.isNoneEmpty, StringUtils.isAnyBlank, StringUtils.isNoneBlank.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/coms/commons-lang master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/326.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #326
----
commit 235b485e3a7a8cc60b6884357ecef4fd6bca0abd
Author: Oleg Chubaryov <ol...@...>
Date: 2018-04-24T22:26:29Z
Improve Javadoc for StringUtils methods
----
> Improve Javadoc for StringUtils.isAnyEmpty(null)
> -------------------------------------------------
>
> Key: LANG-1391
> URL: https://issues.apache.org/jira/browse/LANG-1391
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Affects Versions: 3.7
> Reporter: Sauro Matulli
> Priority: Major
> Fix For: 3.8
>
>
>
> The StringUtils.isAnyEmpty(null) method returns an incorrect value from what is specified in the javadoc.
> JAVADOC: StringUtils.isAnyEmpty(null) = true
> Test: System.out.println("" + StringUtils.isAnyEmpty(null)); --> false
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)