On Fri, 3 Jul 2026 00:11:41 GMT, Michael Strauß <[email protected]> wrote:

>> Marius Hanl has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   improve tests
>
> modules/javafx.graphics/src/main/java/javafx/scene/Node.java line 719:
> 
>> 717:             @Override
>> 718:             public List<String> getStyleClassOrNull(Node node) {
>> 719:                 return node.styleClass != null ? node.getStyleClass() : 
>> null;
> 
> Suggestion:
> 
>                 return node.styleClass;

looks a bit weird at first (since normally always a getter is used for lazy 
properties) but actually a good idea!

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2191#discussion_r3518800659

Reply via email to