commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sauro Matulli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1391) StringUtils.isAnyEmpty(null) returns incorrect value
Date Thu, 12 Apr 2018 12:15:00 GMT
Sauro Matulli created LANG-1391:
-----------------------------------

             Summary: StringUtils.isAnyEmpty(null)  returns incorrect value
                 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


 

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)

Mime
View raw message