RFR: 8338140: (str) Add notes to String.trim and String.isEmpty pointing to newer APIs
Brian Burkhalter
bpb at openjdk.org
Wed Jun 11 23:46:27 UTC 2025
On Wed, 11 Jun 2025 22:39:48 GMT, Stuart Marks <smarks at openjdk.org> wrote:
> Add a note to String.trim pointing to the String.strip family of methods.
>
> Add notes cross-linking String.isBlank and String.isEmpty.
src/java.base/share/classes/java/lang/String.java line 3837:
> 3835: *
> 3836: * @apiNote
> 3837: * This method uses a ASCII-based definition of space characters that are to be
"a ASCII" or "an ASCII"?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25762#discussion_r2141272697
More information about the core-libs-dev
mailing list