You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/05/27 15:54:12 UTC
[jira] [Commented] (LANG-901) endsWithAny is case sensitive -
documented as case insensitive
[ https://issues.apache.org/jira/browse/LANG-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304230#comment-15304230 ]
ASF GitHub Bot commented on LANG-901:
-------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/commons-lang/pull/149
> 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
> Fix For: Review Patch, Discussion
>
> Attachments: LANG-901.patch
>
>
> endsWithAny was added in response to this task: 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.3.4#6332)