RFR: 8215401: Add isEmpty default method to CharSequence
Roger Riggs
Roger.Riggs at oracle.com
Mon May 18 22:29:06 UTC 2020
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
More information about the core-libs-dev
mailing list