You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matthew Bartenschlag (JIRA)" <ji...@apache.org> on 2013/06/19 16:53:21 UTC

[jira] [Created] (LANG-901) endsWithAny is case sensitive - documented as case insensitive

Matthew Bartenschlag created LANG-901:
-----------------------------------------

             Summary: endsWithAny is case sensitive - documented as case insensitive
                 Key: LANG-901
                 URL: https://issues.apache.org/jira/browse/LANG-901
             Project: Commons Lang
          Issue Type: Bug
          Components: General
    Affects Versions: 3.1
            Reporter: Matthew Bartenschlag
            Priority: Minor


endsWithAny was added in response to this task: https://issues.apache.org/jira/browse/LANG-614

Documentation says that the method returns "true if the CharSequence starts with any of the the prefixes, case insensitive, or both null" 

StringUtils.endsWithAny("MIME/TYPE", "TYPE") true
StringUtils.endsWithAny("MIME/TYPE", "type") false

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira