On Wed, 17 Jun 2026 17:47:16 GMT, Marius Hanl <[email protected]> wrote:
>> Michael Strauß has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> add doc links
>
> modules/javafx.graphics/src/test/java/test/javafx/css/CssParser_mediaQuery_Test.java
> line 359:
>
>> 357:
>> 358: var expected =
>> FunctionExpression.of("-fx-supports-conditional-feature", "scene3d", _ ->
>> null, true);
>> 359: var actual = mediaRule.getQueries().get(0);
>
> Very minor: This can be `getFirst()` (and `.get(2)` could be `getLast()`
> below)
I usually only do this if I specifically only need the first (or last) element,
but not when the code pattern repeats for subsequent elements (0, 1, 2 in this
case).
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2161#discussion_r3431161922