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

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


The following commit(s) were added to refs/heads/master by this push:
     new d17d15b4 [TEXT-241] TextStringBuilder.lastIndexOf("") and 
StrBuilder.lastIndexOf("") return incorrect index for empty string (size - 1 
instead of size) (#763).
d17d15b4 is described below

commit d17d15b4185eb9db728292c6f9fbbb7b283be231
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Jul 30 07:36:49 2026 -0400

    [TEXT-241] TextStringBuilder.lastIndexOf("") and
    StrBuilder.lastIndexOf("") return incorrect index for empty string (size
    - 1 instead of size) (#763).
---
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9fbc11c9..d1bac173 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -67,6 +67,7 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="fix" dev="ggregory" due-to="Gary Gregory, Anik1459">Better 
exception messages in ExtendedMessageFormat.applyPattern(String) 
(#758).</action>
       <action type="fix" dev="ggregory" due-to="alhuda, Gary Gregory">Match 
String case folding in TextStringBuilder.equalsIgnoreCase (#762).</action>
       <action type="fix" dev="ggregory" due-to="Javid Khan, Gary 
Gregory">Return null for malformed input in UrlDecoderStringLookup 
(#749).</action>
+      <action type="fix" dev="ggregory" issue="TEXT-241" due-to="Javid Khan, 
Gary Gregory">TextStringBuilder.lastIndexOf("") and StrBuilder.lastIndexOf("") 
return incorrect index for empty string (size - 1 instead of size) 
(#763).</action>
       <!-- ADD -->
       <!-- UPDATE -->
       <action type="update" dev="ggregory" due-to="Gary Gregory">Bump 
org.apache.commons:commons-parent from 93 to 103.</action>

Reply via email to