[
https://issues.apache.org/jira/browse/LANG-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Yandell updated LANG-901:
-------------------------------
Fix Version/s: Review Patch
> 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
> Assignee: Benedikt Ritter
> Priority: Minor
> Fix For: Review Patch
>
> Attachments: LANG-901-StringUtils-StartsWithAnyEndsWithAny.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)