[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=241424=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241424 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 14/May/19 01:02 Start Date: 14/May/19 01:02 Worklog Time Spent: 10m Work Description: geratorres commented on pull request #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 241424) Time Spent: 2h 40m (was: 2.5h) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 2h 40m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=241423=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241423 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 14/May/19 01:02 Start Date: 14/May/19 01:02 Worklog Time Spent: 10m Work Description: geratorres commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-492039501 Closing this pull request because doesn't resolve the problem and the issue is duplicated with LANG-1406 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 241423) Time Spent: 2.5h (was: 2h 20m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 2.5h > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239446=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239446 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 20:11 Start Date: 08/May/19 20:11 Worklog Time Spent: 10m Work Description: chtompki commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490633095 Yeah. I fiddled with it some today and didn’t see any clever solution that wasn’t brute force. I think we may have to check both situations. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 239446) Time Spent: 2h 20m (was: 2h 10m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 2h 20m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239441=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239441 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 19:58 Start Date: 08/May/19 19:58 Worklog Time Spent: 10m Work Description: geratorres commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490628533 Thanks! for the context with this new info I'll be trying to find a good solution This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 239441) Time Spent: 2h 10m (was: 2h) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 2h 10m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239247=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239247 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 15:30 Start Date: 08/May/19 15:30 Worklog Time Spent: 10m Work Description: chtompki commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490534024 Another non-deprecated Unicode character that has this `IndexOutOfBoundsException` as well is `\uFB01` or `fi`. and yes @garydgregory there is a point here as I read an article that proported that there was at least one Turkish loss of life due to a cell phone mistranslating the specific character in question in the proposed tests for LANG-1453 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 239247) Time Spent: 1h 50m (was: 1h 40m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 1h 50m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239248=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239248 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 15:30 Start Date: 08/May/19 15:30 Worklog Time Spent: 10m Work Description: chtompki commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490534024 Another non-deprecated Unicode character that has this `IndexOutOfBoundsException` as well is `\uFB01` or `fi` after switching to use `toUpperCase` as opposed to `toLowerCase`. and yes @garydgregory there is a point here as I read an article that proported that there was at least one Turkish loss of life due to a cell phone mistranslating the specific character in question in the proposed tests for LANG-1453 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 239248) Time Spent: 2h (was: 1h 50m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 2h > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239244=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239244 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 15:28 Start Date: 08/May/19 15:28 Worklog Time Spent: 10m Work Description: garydgregory commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490533113 Some background: https://garygregory.wordpress.com/2015/11/03/java-lowercase-conversion-turkey/ This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 239244) Time Spent: 1h 40m (was: 1.5h) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 1h 40m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239240=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239240 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 15:17 Start Date: 08/May/19 15:17 Worklog Time Spent: 10m Work Description: chtompki commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490528607 An example of another character that has this problem from the lowercase alphabet is `ʼn` or `\u0149`. So the question becomes how do we accommodate for these oddities? I'm open to thoughts here This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 239240) Time Spent: 1.5h (was: 1h 20m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 1.5h > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239232=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239232 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 14:57 Start Date: 08/May/19 14:57 Worklog Time Spent: 10m Work Description: chtompki commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490520731 I agree with @cesartxt - it seems that this resolves the unit tests as written for `StringUtils`, but the question becomes are there similar lower case letters that would yield a similar result when ran through `toUpperCase`. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 239232) Time Spent: 1h 20m (was: 1h 10m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 1h 20m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=239231=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-239231 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 14:56 Start Date: 08/May/19 14:56 Worklog Time Spent: 10m Work Description: chtompki commented on pull request #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#discussion_r282105741 ## File path: src/test/java/org/apache/commons/lang3/StringUtilsTest.java ## @@ -2687,6 +2687,9 @@ public void testRemoveIgnoreCase_String() { // StringUtils.removeIgnoreCase("queued", "zZ") = "queued" assertEquals("queued", StringUtils.removeIgnoreCase("queued", "zZ")); + +// StringUtils.removeIgnoreCase("İa", "a") = "İ" +assertEquals("İ", StringUtils.removeIgnoreCase("İa", "a")); Review comment: We need to minimally replace `"İ"` with `"\u0130"` for this to properly work. For example try running: ```java System.out.println("İ"); System.out.println("\u0130"); ``` only the second will give your desired output. That said, your point is still quite valid. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 239231) Time Spent: 1h 10m (was: 1h) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 1h 10m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=238983=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-238983 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 04:18 Start Date: 08/May/19 04:18 Worklog Time Spent: 10m Work Description: cesartxt commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490340797 Please, review the conversation of the pull request #340 It seems that using String#toUpperCase instead of String#toLowerCase doesn't fix all the cases. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 238983) Time Spent: 1h (was: 50m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 1h > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=238982=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-238982 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 04:16 Start Date: 08/May/19 04:16 Worklog Time Spent: 10m Work Description: cesartxt commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490340797 Please, review the conversation of the pull request #340 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 238982) Time Spent: 50m (was: 40m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 50m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=238923=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-238923 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 00:59 Start Date: 08/May/19 00:59 Worklog Time Spent: 10m Work Description: coveralls commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490303679 [![Coverage Status](https://coveralls.io/builds/23249923/badge)](https://coveralls.io/builds/23249923) Coverage increased (+0.007%) to 95.396% when pulling **e510d425e18271019609a7495549875c5ade21ae on geratorres:LANG-1453-IdxOutBndsEx** into **6934228ded0aba917d253625aebd4efb10bbae97 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 238923) Time Spent: 0.5h (was: 20m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 0.5h > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=238924=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-238924 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 01:01 Start Date: 08/May/19 01:01 Worklog Time Spent: 10m Work Description: coveralls commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490303679 [![Coverage Status](https://coveralls.io/builds/23249955/badge)](https://coveralls.io/builds/23249955) Coverage increased (+0.007%) to 95.396% when pulling **e510d425e18271019609a7495549875c5ade21ae on geratorres:LANG-1453-IdxOutBndsEx** into **6934228ded0aba917d253625aebd4efb10bbae97 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 238924) Time Spent: 40m (was: 0.5h) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 40m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=238912=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-238912 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 00:37 Start Date: 08/May/19 00:37 Worklog Time Spent: 10m Work Description: coveralls commented on issue #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420#issuecomment-490303679 [![Coverage Status](https://coveralls.io/builds/23249560/badge)](https://coveralls.io/builds/23249560) Coverage increased (+0.007%) to 95.396% when pulling **49cf9d7c1894668025da0ca7ab00f442ba387e77 on geratorres:LANG-1453-IdxOutBndsEx** into **6934228ded0aba917d253625aebd4efb10bbae97 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 238912) Time Spent: 20m (was: 10m) > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 20m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (LANG-1453) StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1453?focusedWorklogId=238908=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-238908 ] ASF GitHub Bot logged work on LANG-1453: Author: ASF GitHub Bot Created on: 08/May/19 00:28 Start Date: 08/May/19 00:28 Worklog Time Spent: 10m Work Description: geratorres commented on pull request #420: LANG-1453: using toUpperCase instead of toLowerCase solve the problem URL: https://github.com/apache/commons-lang/pull/420 I changed the using of toLowerCase to toUpperCase on replace function on StringUtils. more detailed info is in a comment on Jira This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 238908) Time Spent: 10m Remaining Estimate: 0h > StringUtils.removeIgnoreCase("İa", "a") throws IndexOutOfBoundsException > > > Key: LANG-1453 > URL: https://issues.apache.org/jira/browse/LANG-1453 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* >Affects Versions: 3.8.1 >Reporter: Thomas Neerup >Priority: Critical > Time Spent: 10m > Remaining Estimate: 0h > > *try* { > String s = StringUtils._removeIgnoreCase_("İa", "a"); > } *catch* (Exception e) { > e.printStackTrace(); > } > output > java.lang.IndexOutOfBoundsException: start 3, end 2, s.length() 2 > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) > -- This message was sent by Atlassian JIRA (v7.6.3#76005)