-
Notifications
You must be signed in to change notification settings - Fork 12
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
Correct unused variables #325
Comments
Seems like it exists ! https://errorprone.info/bugpattern/UnusedVariable |
|
relevant ? -> google/error-prone#985 relevant ? if yes, how to read that ? -> https://mvnrepository.com/artifact/com.google.errorprone So far i've tested the plugin with mvn install, is there something better ? |
aadarchi does not use javac doesn't it ? Because in an exemple I found, there's a tag in the pom like this one (in configuration) : |
In fact it's much easier if I copy paste all the config tag here :
|
Yes, you can use |
aadarch uses maven-compiler-plugin, which in turn uses javac under the hood |
Still compiles with useless class & variables (mvn clean compile -pl :cdi-config-extension) |
Some variables are unused in code.
Maybe error-prone has a detector for that
The text was updated successfully, but these errors were encountered: