-
Notifications
You must be signed in to change notification settings - Fork 737
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
UnusedMethod no longer works #2215
Comments
I don't think this is a regression, it has had a heuristic that looks for methods that start with "unused" since a17a68e. We treat that as a suppression mechanism that documents methods that are deliberately unused. |
@cushon My bad, I just wanted to verify my Maven setup worked, and adding unused methods with these most original names was the first thing I came up with. I've filed a PR to document this mechanism. |
Description of the problem / feature request:
UnusedMethod doesn't detect unused methods.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Test.java
with the following content:What version of Error Prone are you using?
2.5.1
Have you found anything relevant by searching the web?
No.
The text was updated successfully, but these errors were encountered: