Clarify that "It" in the javadoc means "This method"

This commit is contained in:
Liam Miller-Cushon 2026-01-23 15:24:55 +01:00
parent 77bc5b9e34
commit 51bf15106b

View File

@ -2111,7 +2111,7 @@ public final class String
* as {@link #getBytes(Charset) getBytes(cs).length}.
*
* @apiNote This method provides equivalent or better performance than {@link #getBytes(Charset)
* getBytes(cs).length}. It may allocate memory to compute the length for some charsets.
* getBytes(cs).length}. This method may allocate memory to compute the length for some charsets.
*
* @param cs The {@link Charset} used to the compute the length
* @since 27