You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Yasar Siddiqui (JIRA)" <ji...@apache.org> on 2015/12/09 15:11:11 UTC
[jira] [Commented] (LANG-1191) Incorrect javadoc
[ https://issues.apache.org/jira/browse/LANG-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048715#comment-15048715 ]
Yasar Siddiqui commented on LANG-1191:
--------------------------------------
This has been fixed in the javadoc
Reference URL - http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#containsAny(java.lang.CharSequence,%20java.lang.CharSequence...)
> 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)