On Tue, 10 Feb 2026 19:44:54 GMT, Andy Goryachev <[email protected]> wrote:
>> Michael Strauß has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> CSS-compliant double parser
>
> modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java line 437:
>
>> 435:
>> 436: if (len == 3) {
>> 437: r = Integer.parseInt(colorString, offset, offset + 1,
>> 16);
>
> would a switch statement be better in this case (e.g. case when len == 1)?
would it?
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2069#discussion_r2805714818