commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-344) CollatorUtils - equivalent of StringUtils, but using Collators
Date Sun, 27 Oct 2013 22:44:30 GMT

     [ https://issues.apache.org/jira/browse/LANG-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton updated LANG-344:
---------------------------------

    Attachment: CollatorUtilsTest.java
                CollatorUtils.java

> 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: Patch Needed
>
>         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)

Mime
View raw message