[jira] [Commented] (LANG-890) Adding equalsIgnoreWhiteSpaces() method to StringUtils

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LANG-890) Adding equalsIgnoreWhiteSpaces() method to StringUtils

Phil Steitz (Jira)

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

Sebb commented on LANG-890:
---------------------------

Oops!

In that case, I think this issue should be closed as Won't Fix - I cannot see the point of adding a specific method.

The class is already so large that it's easy to overlook methods!
               

> Adding equalsIgnoreWhiteSpaces() method to StringUtils
> ------------------------------------------------------
>
>                 Key: LANG-890
>                 URL: https://issues.apache.org/jira/browse/LANG-890
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>    Affects Versions: 4.0
>         Environment: New Feature
>            Reporter: Thilak
>              Labels: StringUtil
>             Fix For: 4.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Currently, no java uitility package offers a method to compare two strings which differ only in format & white spaces for equality. The common scenario when we need such a method would be (a) when one needs to perform equality check between two narrative fields in a SWIFT message or (b) to compare a paragrapgh retreived from different files.
> Please advise on how i can share the code for this new method. thank you

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira