commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-344) CollatorUtils - equivalent of StringUtils, but using Collators
Date Wed, 22 Apr 2015 09:55:59 GMT

    [ 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)

Mime
View raw message