Thomas Neerup created LANG-1453:
-----------------------------------

             Summary: 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


*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)

Reply via email to