You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected NonOverridingEquals bug pattern and compiled the code, but the results were different than I expected. so I am sending this issue because I wonder if I have run the errorprone properly.
What version of Error Prone are you using?
2.3.1
Does this issue reproduce with the latest release?
That example works for me using the maven instructions above, although I have to pass -Dmaven.compiler.showWarnings to get maven to actually display the warnings:
mvn clean package -Dmaven.compiler.showWarnings=true
...
[WARNING] ./Example.java:[8,18] [NonOverridingEquals] equals method doesn't override Object.equals
(see https://errorprone.info/bugpattern/NonOverridingEquals)
Did you mean '@Override'?
I expected NonOverridingEquals bug pattern and compiled the code, but the results were different than I expected. so I am sending this issue because I wonder if I have run the errorprone properly.
What version of Error Prone are you using?
2.3.1
Does this issue reproduce with the latest release?
N/A
What did you do?
pom.xml
Example.java
What did you expect to see?`
(see https://errorprone.info/bugpattern/NonOverridingEquals)
What did you see instead?
The text was updated successfully, but these errors were encountered: