Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imports for symbols only in markdown Javadoc are removed #126

Open
delanym opened this issue Mar 5, 2025 · 0 comments
Open

Imports for symbols only in markdown Javadoc are removed #126

delanym opened this issue Mar 5, 2025 · 0 comments
Labels

Comments

@delanym
Copy link

delanym commented Mar 5, 2025

Plugin removes imports referenced only in Javadoc comments when those comments are in Markdown format.

To Reproduce
In your project enable removeUnused and in any class add a Javadoc comment that references a symbol not used in your class, for example an unusual exception type.

When compliance with JDK23 is a possibility javaparser/javaparser#4660 this should be fixed.

@delanym delanym added the bug label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant