On Wed, 25 Mar 2026 19:02:35 GMT, Marius Hanl <[email protected]> wrote:
>> Christopher Schnick has updated the pull request incrementally with two
>> additional commits since the last revision:
>>
>> - Adjust tests
>> - Adjust tests
>
> modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextFieldSkin.java
> line 256:
>
>> 254: * hence it should be updated when caret path size is
>> not 4 */
>> 255:
>> 256: if (caretPath.getElements().size() != 0) {
>
> `!caretPath.getElements().isEmpty()`
I refactored it to make it easier to understand what the condition is checking
now
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2128#discussion_r3012268398