On Wed, 11 Jun 2025 22:39:48 GMT, Stuart Marks <sma...@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 3937:

> 3935: 
> 3936:     /**
> 3937:      * Returns {@code true} if the string is empty or contains only

This method seems like a good candidate to use `{@return ...}`.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25762#discussion_r2141282138

Reply via email to