GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [java] add lombok.EqualsAndHashCode in AbstractLombokAwareRule by berkam · Pull Request #2674 · pmd/pmd Conversation
|
Generated by 🚫 Danger |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR!
Could you please add a test case?
See https://pmd.github.io/latest/pmd_userdocs_extending_testing.html for background information.
You'll need to add your test case here: https://github.com/pmd/pmd/blob/master/pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UnusedPrivateField.xml
Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Dear @adangel , thanks for your comment. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@berkam thanks for the PR. However, if the point is to avoid a FP exclusively in Lines 34 to 40 in 89bb73f
The list in the abstract base class actually apply to other rules as well, which would be incorrect. For instance, this change would mean Hence, I'd also add it here: pmd/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SingularFieldRule.java Lines 61 to 66 in 7fb09de
and add a test case for |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jsotuyod , thanks for your comment. I made edits |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Amazing! Thanks for the great work!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
[java] add lombok.EqualsAndHashCode in AbstractLombokAwareRule #2674
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[java] UnusedPrivateField and SingularField false positive with lombok annotation EqualsAndHashCode
There was an error while loading. Please reload this page.