[
https://issues.apache.org/jira/browse/LANG-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471170
]
Stephen Kestle commented on LANG-316:
-------------------------------------
No - someone really should read up on Collators etc before jumping into this.
equalsIgnoreCase is an English/ASCII hack, and does not scale well.
A solution should be append(Object lhs, Object rhs, Comparator c)
PS. passing booleans around is not very nice, and also becomes problematic...
> Enable CaseInsensitivity in EqualsBuilder and HashCodeBuilder
> -------------------------------------------------------------
>
> Key: LANG-316
> URL: https://issues.apache.org/jira/browse/LANG-316
> Project: Commons Lang
> Issue Type: New Feature
> Affects Versions: 2.3
> Environment: Any
> Reporter: Nelson Carpentier
> Priority: Minor
> Fix For: 3.0
>
> Attachments: lang_20070206.diff
>
>
> Sometimes I want a String property containing "ThisString" to be seen as
> equal to "THISstring". EqualsBuilder (and HashCodeBuilder) should be
> enhanced to optionally handle this requirement.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]