asbachb commented on issue #5845: URL: https://github.com/apache/netbeans/issues/5845#issuecomment-1546775979
Could reproduce this issue. Hint is generated here: https://github.com/apache/netbeans/blob/18-rc3/java/java.hints/src/org/netbeans/modules/java/hints/bugs/Unused.java#L50 Actually I don't see a possibility to prevents this tbh. As `UnusedDetector` is part of `Java Editor Base` the hint is correct. I don't think an exclusion for Jakarta EE relevant stuff should be added here. Maybe there should a `HintRevokeProvider` which is able to revoke hints. So the Jakarta EE module could provide an implementation which removes that hint as it's called from container. Any opinions about that solution? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
