On Fri, 12 Nov 2021 19:11:36 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> All this manually written code actually can be replaced with single > String.isBlank() call. > `file` variable is guaranteed to be non-null. This pull request has now been integrated. Changeset: 268880b4 Author: Andrey Turbanov <aturba...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/268880b471eed54535927fba953347160f447fcd Stats: 26 lines in 1 file changed: 0 ins; 21 del; 5 mod 8277412: Use String.isBlank to simplify code in sun.net.www.protocol.mailto.Handler Reviewed-by: dfuchs ------------- PR: https://git.openjdk.java.net/jdk/pull/6372