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

Robert Scholte commented on LANG-447:
-------------------------------------

Sounds like [LANG-316]

> String case-insensitive comparisons, equals, and hashing
> --------------------------------------------------------
>
>                 Key: LANG-447
>                 URL: https://issues.apache.org/jira/browse/LANG-447
>             Project: Commons Lang
>          Issue Type: Improvement
>            Reporter: Paul Benedict
>             Fix For: 3.0
>
>
> A common pattern I have is comparing strings case-insensitive in equals(), 
> but this also means for hashCode() and compareTo() as well. I am looking for 
> null-safe versions of the following:
> StringUtils.equalsIgnoreCase(s1, s2); // already present
> StringUtils.compareToIgnoreCase(s1, s2);
> CompareToBuilder.appendIgnoreCase(s1, s2);
> HashCodeBuilder.appendIgnoreCase(s1, s2);
> The last three methods must use the same insensitive algorithm as 
> equalsIgnoreCase(). All four must compare as upper case or lower case, and 
> documented as such.

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