[jira] Created: (LANG-432) Fix case-insensitive string handling

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (LANG-432) Fix case-insensitive string handling

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fix case-insensitive string handling
------------------------------------

                 Key: LANG-432
                 URL: https://issues.apache.org/jira/browse/LANG-432
             Project: Commons Lang
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Benjamin Bentmann
         Attachments: LANG-432.patch

{{String.to*Case()}} is locale-sensitive, this is usually not intended for case-insensitive comparisions. Please see [Common Bug #3|http://www.nabble.com/Re%3A-Common-Bugs-p14931921s177.html] for details.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LANG-432) Fix case-insensitive string handling

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Benjamin Bentmann updated LANG-432:
-----------------------------------

    Attachment: LANG-432.patch

> Fix case-insensitive string handling
> ------------------------------------
>
>                 Key: LANG-432
>                 URL: https://issues.apache.org/jira/browse/LANG-432
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Benjamin Bentmann
>         Attachments: LANG-432.patch
>
>
> {{String.to*Case()}} is locale-sensitive, this is usually not intended for case-insensitive comparisions. Please see [Common Bug #3|http://www.nabble.com/Re%3A-Common-Bugs-p14931921s177.html] for details.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LANG-432) Fix case-insensitive string handling

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Henri Yandell updated LANG-432:
-------------------------------

    Fix Version/s: 3.0

> Fix case-insensitive string handling
> ------------------------------------
>
>                 Key: LANG-432
>                 URL: https://issues.apache.org/jira/browse/LANG-432
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0
>
>         Attachments: LANG-432.patch
>
>
> {{String.to*Case()}} is locale-sensitive, this is usually not intended for case-insensitive comparisions. Please see [Common Bug #3|http://www.nabble.com/Re%3A-Common-Bugs-p14931921s177.html] for details.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (LANG-432) Fix case-insensitive string handling

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Henri Yandell commented on LANG-432:
------------------------------------

SystemUtilsTest and StringEscapeUtils both fixed. Need to dig more into the StringUtils one to understand the nature of the change.

> Fix case-insensitive string handling
> ------------------------------------
>
>                 Key: LANG-432
>                 URL: https://issues.apache.org/jira/browse/LANG-432
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0
>
>         Attachments: LANG-432.patch
>
>
> {{String.to*Case()}} is locale-sensitive, this is usually not intended for case-insensitive comparisions. Please see [Common Bug #3|http://www.nabble.com/Re%3A-Common-Bugs-p14931921s177.html] for details.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (LANG-432) Fix case-insensitive string handling

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Benjamin Bentmann commented on LANG-432:
----------------------------------------

The proposed changes to {{StringUtils.containsIgnoreCase()}} aim at establishing the following assertion:
{noformat}
str1.equalsIgnoreCase(str2)    ==>  StringUtils.containsIgnoreCase(str1, str2)
{noformat}
or more completely
{noformat}
StringUtils.containsIgnoreCase(str1, str2)
iff. there exists k >= 0 such that
str1.substring(k, k + str2.length()).equalsIgnoreCase(str2)
{noformat}


> Fix case-insensitive string handling
> ------------------------------------
>
>                 Key: LANG-432
>                 URL: https://issues.apache.org/jira/browse/LANG-432
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0
>
>         Attachments: LANG-432.patch
>
>
> {{String.to*Case()}} is locale-sensitive, this is usually not intended for case-insensitive comparisions. Please see [Common Bug #3|http://www.nabble.com/Re%3A-Common-Bugs-p14931921s177.html] for details.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.