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

Henri Yandell commented on LANG-344:
------------------------------------

Niall added a patch.

> 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.1#6144)

Reply via email to