You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (JIRA)" <ji...@apache.org> on 2015/04/22 11:55:59 UTC

[jira] [Commented] (LANG-344) CollatorUtils - equivalent of StringUtils, but using Collators

    [ https://issues.apache.org/jira/browse/LANG-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506748#comment-14506748 ] 

Bruno P. Kinoshita commented on LANG-344:
-----------------------------------------

Patch is looking good, though I hadn't had enough time to create a few extra test cases and compare it with the existing code.

> CollatorUtils - equivalent of StringUtils, but using Collators
> --------------------------------------------------------------
>
>                 Key: LANG-344
>                 URL: https://issues.apache.org/jira/browse/LANG-344
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>    Affects Versions: 2.3
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: Review Patch
>
>         Attachments: CollatorUtils.java, CollatorUtilsTest.java
>
>
> Stephen Kestle has pointed out that "equalsIgnoreCase is an English/ASCII hack" and that using the Collator class provides a more robust String comparison mechanism.
> - Most recently this came up when adding new "ignore case" methods to StringUtils for LANG-326 (also http://tinyurl.com/3d2jjk )
> - Raised in regarding case insensitivity for EqualsBuilder and HashCodeBuilder in LANG-316 
> Creating this issue ticket so this doesn't get forgotten



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)