commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-316) Enable CaseInsensitivity in EqualsBuilder and HashCodeBuilder
Date Wed, 16 Dec 2009 15:43:18 GMT

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

Sebb commented on LANG-316:
---------------------------

@Paul: String.loLowerCase() uses the default Locale, which may not be suitable.

There is another method String.toLowerCase(Locale) which uses the specified Locale.


> 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
>          Components: lang.builder.*
>    Affects Versions: 2.3
>         Environment: Any
>            Reporter: Nelson Carpentier
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: lang_20070206.diff, lang_20070529.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.


Mime
View raw message