commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Stadler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1259) JavaDoc for ArrayUtils.isNotEmpty() is slightly misleading
Date Thu, 18 Aug 2016 08:29:20 GMT
Dominik Stadler created LANG-1259:
-------------------------------------

             Summary: JavaDoc for ArrayUtils.isNotEmpty() is slightly misleading
                 Key: LANG-1259
                 URL: https://issues.apache.org/jira/browse/LANG-1259
             Project: Commons Lang
          Issue Type: Improvement
            Reporter: Dominik Stadler
            Priority: Minor


JavaDoc states "if the array is not empty or not {@code null}", however actually it is "if
the array is not empty and not {@code null}", i.e. "and" instead of "or". Looks like a small
copy/paste error from "isEmpty()"

Attached patch fixes all the instances.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message