RFR: JDK-8200436 - String::isBlank

Paul Sandoz paul.sandoz at oracle.com
Mon May 14 19:47:11 UTC 2018


+1

Paul.

> On May 14, 2018, at 8:25 AM, Jim Laskey <james.laskey at oracle.com> wrote:
> 
> New string instance method that returns true if the string is empty or contains only white space, where white space is defined as any codepoint returns true when passed to Character::isWhitespace.
> 
> webrev: http://cr.openjdk.java.net/~jlaskey/8200436/webrev/index.html
> jbs: https://bugs.openjdk.java.net/browse/JDK-8200436
> csr: https://bugs.openjdk.java.net/browse/JDK-8200437
> 



More information about the core-libs-dev mailing list