Rainer Döbele created EMPIREDB-489:
--------------------------------------

             Summary: StringUtils.lastIndexOfAny begins at wrong index
                 Key: EMPIREDB-489
                 URL: https://issues.apache.org/jira/browse/EMPIREDB-489
             Project: Empire-DB
          Issue Type: Bug
            Reporter: Rainer Döbele


Bug reported and fixed by codingkiddo 

 The method currently starts reverse iteration from `value.length()`, but the 
last valid character index is `value.length() - 1`. For non-empty strings, this 
can cause `StringIndexOutOfBoundsException` when `value.charAt(i)` is called.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to