-
Notifications
You must be signed in to change notification settings - Fork 4
integrade pmd and fix level 1 of errors #29
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
base: main
Are you sure you want to change the base?
Conversation
pmd { | ||
consoleOutput = true | ||
ruleSetFiles = files("$rootDir/config/pmd/custom-ruleset.xml") | ||
rulesMinimumPriority = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope later to increase it to at least 3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also plan to add it to PR pipelines later. Together with spotlessCheck
Codecov Report❌ Patch coverage is
... and 4 files with indirect coverage changes 🚀 New features to boost your workflow:
|
@@ -30,10 +30,9 @@ public class SummaryUtil { | |||
|
|||
private static boolean isSummaryInputOutputJsonSerializationEnabled; | |||
|
|||
private boolean isJsonSerializationEnabled; | |||
|
|||
@Deprecated(forRemoval = true) | |||
public void init() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m having trouble understanding the purpose of this class — most of its code seems to be unreachable, and all the booleans are private and unused.
Does anyone happen to remember what the original intention behind this class was, or where it might have been copied from? f4d77a5#diff-cece0d808b9662b571949c1de8b7f123b0f6da6dcea16ac0c46e95a2868cb744
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left minor comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Pull Request type
NOTE: Please remember to run
./gradlew spotlessApply
to fix any format violations.Changes in this PR
Describe the new behavior from this PR, and why it's needed
Issue #
Alternatives considered
Describe alternative implementation you have considered