mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8268236: The documentation of the String.regionMatches method contains error
Reviewed-by: rriggs, dfuchs
This commit is contained in:
parent
d9cb068f4b
commit
e4c5446340
1 changed files with 3 additions and 3 deletions
|
@ -2169,9 +2169,9 @@ public final class String
|
|||
* ignoring case if and only if {@code ignoreCase} is true.
|
||||
* The sequences {@code tsequence} and {@code osequence} are compared,
|
||||
* where {@code tsequence} is the sequence produced as if by calling
|
||||
* {@code this.substring(toffset, len).codePoints()} and {@code osequence}
|
||||
* is the sequence produced as if by calling
|
||||
* {@code other.substring(ooffset, len).codePoints()}.
|
||||
* {@code this.substring(toffset, toffset + len).codePoints()} and
|
||||
* {@code osequence} is the sequence produced as if by calling
|
||||
* {@code other.substring(ooffset, ooffset + len).codePoints()}.
|
||||
* The result is {@code true} if and only if all of the following
|
||||
* are true:
|
||||
* <ul><li>{@code toffset} is non-negative.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue