RFR: 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)
Roger Riggs
rriggs at openjdk.org
Fri Feb 24 15:41:05 UTC 2023
On Fri, 24 Feb 2023 15:28:33 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/String.java line 2483:
>>
>>> 2481: return isLatin1() ? StringLatin1.indexOf(value, ch, fromIndex, toIndex)
>>> 2482: : StringUTF16.indexOf(value, ch, fromIndex, toIndex);
>>> 2483: }
>>
>> I assume you've add `@since 21` before integrating.
>
> I was reluctant to add it, as it is not yet known when the PR will be integrated. I'll add it in the next commit.
When the CSR is approved is a good trigger for adding @since. But its fine to be optimistic in the PR.
-------------
PR: https://git.openjdk.org/jdk/pull/12600
More information about the core-libs-dev
mailing list