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

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

Can't one just sub-class the Builders and override the append(Object) or 
append(Object, Object) method?

This does depend on the implementation (i.e. String has to be processed as an 
Object), but it requires no code change to LANG.

To make it simpler, perhaps overridable append(String[,String]) methods could 
be added for this purpose.

Otherwise, any implementation is going to need some way of specifying the 
Locale as well as the up/down direction, etc. and it will be hard to make it 
flexible.


> 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.

Reply via email to