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

Henri Yandell updated LANG-652:
-------------------------------

    Fix Version/s:     (was: 3.x)

> Added a new equals method tho string utils with signature equals(String, 
> String, boolean)
> -----------------------------------------------------------------------------------------
>
>                 Key: LANG-652
>                 URL: https://issues.apache.org/jira/browse/LANG-652
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Chris Kujawa
>            Priority: Minor
>         Attachments: kujawa_equalsWithBooleanPatch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I added a new equals method the StringUtils that allows users to call one 
> common method to determine whether two Strings are equal.
> In other words, instead of calling 
>         StringUtils.equals( x, y) for case sensitive comparisons
>     and
>         StringUtils.equalsIgnoreCase( x, y ) for case-insensitive comparisons
>     my addition allows a user to simple call
>         StringUtils.equals( x, y, true) for case-sensitive comparisons
>     or
>         StringUtils.equals(x,y, false) for case-insensitive comparisons
>     I believe this will be cleaner, and much easier to read than having two 
> different method calls.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to