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-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 13c99492b StringUtils.indexOfAny(CharSequence, int, char...) should
not throw for a bad index (#1656)
13c99492b is described below
commit 13c99492bf695b8ca378d0976919fcea10010c7f
Author: Gary Gregory <[email protected]>
AuthorDate: Sun May 17 19:24:45 2026 -0400
StringUtils.indexOfAny(CharSequence, int, char...) should not throw for
a bad index (#1656)
---
src/changes/changes.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 2215ab002..5e4628461 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -155,6 +155,7 @@ java.lang.NullPointerException: Cannot invoke
<action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">StrBuilder.readFrom(Readable) exposes stale internal
buffer to Readable parameter (#1652).</action>
<action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">EqualsBuilder.reflectionEquals() array branch
missing cycle guard causes stack overflow on self-referential Object arrays
(#1653).</action>
<action type="fix" dev="pkarwasz" due-to="Piotr
Karwasz">WordUtils.wrap() leaves separator characters in the output when the
wrapOn regex match is longer than one character (#1655).</action>
+ <action type="fix" dev="ggregory" due-to="Omkhar
Arasaratnam, Gary Gregory">StringUtils.indexOfAny(CharSequence, int, char...)
should not throw for a bad index (#1656).</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary
Gregory">Add JavaVersion.JAVA_27.</action>
<action type="add" dev="ggregory" due-to="Gary
Gregory">Add SystemUtils.IS_JAVA_27.</action>