commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agrava-luizalabs <...@git.apache.org>
Subject [GitHub] commons-lang pull request: DOC: StringUtils.containsAny. ADD: cont...
Date Tue, 05 May 2015 18:52:15 GMT
Github user agrava-luizalabs commented on a diff in the pull request:

    https://github.com/apache/commons-lang/pull/81#discussion_r29700273
  
    --- Diff: src/main/java/org/apache/commons/lang3/StringUtils.java ---
    @@ -1685,7 +1685,7 @@ public static boolean containsAny(final CharSequence cs, final CharSequence
sear
          * StringUtils.containsAny("", *)              = false
          * StringUtils.containsAny(*, null)            = false
          * StringUtils.containsAny(*, [])              = false
    -     * StringUtils.containsAny("abcd", "ab", "cd") = false
    +     * StringUtils.containsAny("abcd", "ab", "cd") = true
    --- End diff --
    
    It is good to point out that the documentation was wrong in this case


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message