RFR: 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex) [v2]

Raffaello Giulietti rgiulietti at openjdk.org
Fri Feb 24 17:45:24 UTC 2023


On Thu, 23 Feb 2023 17:04:17 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)
>
> src/java.base/share/classes/java/lang/String.java line 2462:
> 
>> 2460:      *
>> 2461:      * <p>There are no restrictions on the value of {@code fromIndex} and
>> 2462:      * {@code toIndex}. Negative values have the same effect as it they were zero.
> 
> "as it" -> "as if"

addressed

-------------

PR: https://git.openjdk.org/jdk/pull/12600


More information about the core-libs-dev mailing list