<Swing Dev> RFR: 8201328: SynthParser should use Boolean.parseBoolean

Martin Buchholz martinrb at google.com
Tue Apr 10 18:19:59 UTC 2018


On Mon, Apr 9, 2018 at 4:34 PM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com>
wrote:

> Looks fine.
> BTW, I am curious can we implement equalsIgnoreCase via || and && instead
> of conditional operations to speedup it or not.
>

Probably not worth too much effort optimizing.  Hopefully we're not calling
parseBoolean in a tight loop.


> On 09/04/2018 10:58, Martin Buchholz wrote:
>
>> Here's a little cleanup suggested by Сергей Цыпанов
>>
>> 8201328: SynthParser should use Boolean.parseBoolean
>> http://cr.openjdk.java.net/~martin/webrevs/jdk/SynthParser/
>> https://bugs.openjdk.java.net/browse/JDK-8201328
>>
>>
>
> --
> Best regards, Sergey.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180410/6b77f653/attachment.html>


More information about the swing-dev mailing list