On Wed, 18 Mar 2026 03:04:19 GMT, John Hendrikx <[email protected]> wrote:

>> 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.

this is a good solution!

then again, someone checks in code with unused imports and the process 
restarts.  I think it's better just ignore these, like we do with the order of 
imports...

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

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

Reply via email to