On Wed, 11 Mar 2026 00:57:27 GMT, Ziad El Midaoui <[email protected]> 
wrote:

>> tests/system/src/test/java/test/robot/javafx/scene/treeview/TreeViewInitialFocusTest.java
>>  line 77:
>> 
>>> 75:         AtomicReference<TreeItem<String>> focusedItem = new 
>>> AtomicReference<>();
>>> 76:         AtomicInteger focusedCellCount = new AtomicInteger(-1);
>>> 77:         AtomicReference<String> focusedCellText = new 
>>> AtomicReference<>();
>> 
>> `focusedCellCount` and  `focusedCellText` are not used - were you planning 
>> to use them in this test?
>
> Yes, I used them at first to check the focused cell and forgot to remove it

With this, can the supporting code be removed too ?
the variables `cells`, `count` and `text`, and the for loop `for (Node n : 
cells)`

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2095#discussion_r2916211922

Reply via email to