commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-1191) Incorrect Javadoc StringUtils.containsAny(CharSequence, CharSequence...)
Date Tue, 26 Jan 2016 18:52:39 GMT

     [ https://issues.apache.org/jira/browse/LANG-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory resolved LANG-1191.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 3.5

In Git master, please verify and close.

> Incorrect Javadoc StringUtils.containsAny(CharSequence, CharSequence...) 
> -------------------------------------------------------------------------
>
>                 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
>            Assignee: Gary Gregory
>            Priority: Minor
>             Fix For: 3.5
>
>         Attachments: LANG-1191.diff
>
>
> 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