RFR: 8323706: Remove SimpleSelector and CompoundSelector classes [v7]

John Hendrikx jhendrikx at openjdk.org
Tue Aug 13 12:07:58 UTC 2024


On Tue, 13 Aug 2024 11:51:39 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> John Hendrikx has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix bug
>
> modules/javafx.graphics/src/main/java/javafx/css/Match.java line 90:
> 
>> 88:     private final int specificity;
>> 89: 
>> 90:     @SuppressWarnings("removal")
> 
> What is this removal warning suppression? I know it was there before these changes.

`SimpleSelector` was deprecated for removal (from the public javafx.css package). Now that it is moved to the internal package, the deprecation on that was also removed.  The `SuppressWarnings` is therefore no longer needed here as the deprecation is no longer present on the now internal `SimpleSelector` type.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1333#discussion_r1715180348


More information about the openjfx-dev mailing list