[java] Update LawOfDemeter#3510
Merged
Merged
Conversation
Generated by 🚫 Danger |
adangel
reviewed
Feb 13, 2022
adangel
left a comment
Member
There was a problem hiding this comment.
I've not had a close look at the regression tester results - these are just too many :)
But I think, we should try to keep the compatibility via the rule tests...
- Fixes pmd#2175 - Fixes pmd#2179 - Fixes pmd#1605: same fix as pmd#2179, since enum constants are static fields they are trusted. - Fixes pmd#2180: the fix is not to special-case Thread, but to consider all static methods as trusted (consistent with the treatment of static fields in pmd#2179) - Fixes pmd#2182: the fix is not to allow package-private access, but to allow a class to access fields of instances of the same class. - Fixes pmd#1014 - Fixes pmd#2188
This reverts commit f7e4d62.
9f963b3 to
ef33d2e
Compare
e3c2f14 to
c0041a7
Compare
Member
|
@oowekyala I'll fix the test failures (I think only some TreeDumpTests are failing), update the release notes with the fixed bugs and merge it. |
This was
linked to
issues
Feb 25, 2022
adangel
added a commit
that referenced
this pull request
Feb 25, 2022
[java] Update LawOfDemeter #3510
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the PR
Note: this is the last rule update to be merged, after that we can remove the old symbol table and check more things off of #2701.
Ready?
I expect the diff report to show a lot of differences...
./mvnw clean verifypasses (checked automatically by github actions)