This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 59231ca  [LANG-1453] StringUtils.removeIgnoreCase("İa", "a") throws 
IndexOutOfBoundsException #423.
59231ca is described below

commit 59231ca9c246d757b1a23e5a8c84cde10e8456a7
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Wed Sep 11 14:50:15 2019 -0400

    [LANG-1453] StringUtils.removeIgnoreCase("İa", "a") throws
    IndexOutOfBoundsException #423.
---
 src/changes/changes.xml                                     | 3 ++-
 src/test/java/org/apache/commons/lang3/StringUtilsTest.java | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 560607f..3c8eae2 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -66,7 +66,8 @@ The <action> type attribute can be add,update,fix,remove.
     <action issue="LANG-1486" type="add" dev="ggregory" due-to="Gary 
Gregory">Generify builder classes Diffable, DiffBuilder, and DiffResult 
#452.</action>
     <action issue="LANG-1487" type="add" dev="ggregory" due-to="Gary 
Gregory">Add ClassLoaderUtils with toString() implementations #453.</action>
     <action issue="LANG-1489" type="add" dev="ggregory" due-to="Gary 
Gregory">Add null-safe APIs as StringUtils.toRootLowerCase(String) and 
StringUtils.toRootUpperCase(String) #456.</action>
-    <action issue="LANG-1406" type="add" dev="ggregory" 
due-to="geratorres">StringIndexOutOfBoundsException in 
StringUtils.replaceIgnoreCase #423.</action>
+    <action issue="LANG-1406" type="fix" dev="ggregory" 
due-to="geratorres">StringIndexOutOfBoundsException in 
StringUtils.replaceIgnoreCase #423.</action>
+    <action issue="LANG-1453" type="fix" dev="ggregory" 
due-to="geratorres">StringUtils.removeIgnoreCase("İa", "a") throws 
IndexOutOfBoundsException #423.</action>
     <action                   type="update" dev="ggregory">junit-jupiter 5.5.1 
-> 5.5.2.</action>
     <action                   type="update" 
dev="ggregory">com.puppycrawl.tools:checkstyle 8.23 -> 8.24.</action>    
   </release>
diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
index e4e1da6..b0ec127 100644
--- a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
@@ -1687,6 +1687,9 @@ public class StringUtilsTest {
 
         // StringUtils.removeIgnoreCase("\u0130x", "x") = "\u0130"
         assertEquals("\u0130", StringUtils.removeIgnoreCase("\u0130x", "x"));
+        
+        // LANG-1453
+        StringUtils.removeIgnoreCase("İa", "a");
     }
 
     @Test

Reply via email to