commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "qed (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1191) Incorrect javadoc
Date Tue, 08 Dec 2015 11:57:10 GMT
qed created LANG-1191:
-------------------------

             Summary: Incorrect javadoc
                 Key: LANG-1191
                 URL: https://issues.apache.org/jira/browse/LANG-1191
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.*
    Affects Versions: 3.4
            Reporter: qed
            Priority: Minor


Javadoc for boolean org.apache.commons.lang3.StringUtils.containsAny(CharSequence cs, CharSequence...
searchCharSequences) says:

StringUtils.containsAny("abcd", "ab", "cd") = false

which is not true. It should be:

StringUtils.containsAny("abcd", "ab", "cd") = true



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

Mime
View raw message