[jdk17] Integrated: JDK-8268236 The documentation of the String.regionMatches method contains error
Jim Laskey
jlaskey at openjdk.java.net
Mon Jun 28 13:54:10 UTC 2021
On Mon, 28 Jun 2021 12:28:06 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:
> The documentation of the String.regionMatches method contains this fragment: this.substring(toffset, len).codePoints(), but String.substring method takes index, not the length, as the second argument.
This pull request has now been integrated.
Changeset: e4c54463
Author: Jim Laskey <jlaskey at openjdk.org>
URL: https://git.openjdk.java.net/jdk17/commit/e4c5446340605b112e0918fa9dcb48aaeaa730c8
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
8268236: The documentation of the String.regionMatches method contains error
Reviewed-by: rriggs, dfuchs
-------------
PR: https://git.openjdk.java.net/jdk17/pull/157
More information about the core-libs-dev
mailing list