We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Affects PMD Version: 7.0.0-rc2 and 6.x
Rule: OverrideBothEqualsAndHashCode
Please provide the rule name and a link to the rule documentation: https://docs.pmd-code.org/latest/pmd_rules_java_errorprone.html#overridebothequalsandhashcode
Description:
Code Sample demonstrating the issue:
record Foo(int x) { @Override boolean equals(Object o) { return this == o; } }
Expected outcome:
PMD should report a violation at line ..., but doesn't. This is a false-negative.
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
The text was updated successfully, but these errors were encountered:
[doc] Update release notes (pmd#4540, pmd#4457, pmd#4546)
f9b5c98
Successfully merging a pull request may close this issue.
Affects PMD Version: 7.0.0-rc2 and 6.x
Rule: OverrideBothEqualsAndHashCode
Please provide the rule name and a link to the rule documentation:
https://docs.pmd-code.org/latest/pmd_rules_java_errorprone.html#overridebothequalsandhashcode
Description:
Code Sample demonstrating the issue:
Expected outcome:
PMD should report a violation at line ..., but doesn't. This is a false-negative.
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
The text was updated successfully, but these errors were encountered: