Fix comments

This commit is contained in:
Tatsunori Uchino 2026-01-29 09:48:41 +00:00
parent 5df93771f2
commit 8835ab3dff
2 changed files with 3 additions and 2 deletions

View File

@ -1730,7 +1730,7 @@ public final class String
/**
* Returns the index within this {@code String} that is
* offset from the given {@code index} by
* {@code codePointOffset} code points. Isolated surrogate code units
* {@code codePointOffset} code points. Unpaired surrogates
* within the text range given by {@code index} and
* {@code codePointOffset} count as one code point each.
*

View File

@ -389,7 +389,8 @@ public class Supplementary {
* Test codePointCount(int, int) &
* codePointCount()
*
* This test case assumes that Character.codePointCount(CharSequence, int, int) works
* This test case assumes that
* Character.codePointCount(CharSequence, int, int) works
* correctly.
*/
static void test8() {