[ 
https://issues.apache.org/jira/browse/EMPIREDB-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rainer Döbele resolved EMPIREDB-489.
------------------------------------
    Resolution: Fixed

fixed and submitted by Vinod Kumar

> 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
>            Priority: Major
>
> 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