On Tue, 17 Mar 2026 18:39:44 GMT, Andy Goryachev <[email protected]> wrote:

>> modules/javafx.graphics/src/main/java/javafx/css/Stylesheet.java line 36:
>> 
>>> 34: import com.sun.javafx.css.FontFaceImpl;
>>> 35: import com.sun.javafx.css.RuleHelper;
>>> 36: import com.sun.javafx.css.media.MediaQuery;
>> 
>> Minor: Some imports are unused in this file
>
> yeah, last time I looked at enabling unused imports warning in Eclipse there 
> were 600+ warnings, including generated sources which will be nearly 
> impossible to fix without substantial work.

For generated sources, you may be able to configure something or transform 
something to just add a `@SurpressWarnings("all")` on the generated class. This 
is how I usually deal with generated stuff where warnings don't matter.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2031#discussion_r2950589626

Reply via email to