[ 
https://issues.apache.org/jira/browse/LANG-1406?focusedWorklogId=241515&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241515
 ]

ASF GitHub Bot logged work on LANG-1406:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/May/19 04:47
            Start Date: 14/May/19 04:47
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on issue #422: LANG-1406: avoid 
StringIndexOutOfBounds exceptions for some cases of …
URL: https://github.com/apache/commons-lang/pull/422#issuecomment-492071616
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/23366815/badge)](https://coveralls.io/builds/23366815)
   
   Coverage increased (+0.002%) to 95.364% when pulling 
**c43998d5ec9d4de2419a20a97cd907c185eccb76 on 
geratorres:LANG-1406-OutBoundsEx** into 
**ffb8b29790cf781765fed9d1da6ec6988842ad18 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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 241515)
    Time Spent: 1h 20m  (was: 1h 10m)

> StringIndexOutOfBoundsException in StringUtils.replaceIgnoreCase
> ----------------------------------------------------------------
>
>                 Key: LANG-1406
>                 URL: https://issues.apache.org/jira/browse/LANG-1406
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>            Reporter: Michael Ryan
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> STEPS TO REPRODUCE:
> {code}
> StringUtils.replaceIgnoreCase("\u0130x", "x", "")
> {code}
> EXPECTED: "\u0130" is returned.
> ACTUAL: StringIndexOutOfBoundsException
> This happens because the replace method is assuming that text.length() == 
> text.toLowerCase().length(), which is not true for certain characters.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to