Hi Claes,

Though it does not look like it could be any simpler, there should probably be a test. Checking consistency with the existing implementations of CharSequence.length()
and a custom subtype.

Thanks, Roger


On 5/18/20 4:48 PM, Claes Redestad wrote:
Hi,

let's add an isEmpty default method to CharSequence!

Webrev: http://cr.openjdk.java.net/~redestad/8215401/open.00/
RFE:    https://bugs.openjdk.java.net/browse/JDK-8215401
CSR:    https://bugs.openjdk.java.net/browse/JDK-8215402

Testing: tier1-3

/Claes

Reply via email to