-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[POC-FIX-PMD] maven-pmd-plugin: reactivate PMD - Error Prone #2364
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
Conversation
|
wip |
dbea0c8 to
2b0b437
Compare
| return !isEmpty(value) ? value : DEFAULT_CHILDREN_COMBINATION_MODE; | ||
| } | ||
|
|
||
| @Nullable |
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.
...in-active-collection/src/main/java/org/apache/maven/plugin/coreit/CheckThreadSafetyMojo.java
Show resolved
Hide resolved
...pendency-resolution/src/main/java/org/apache/maven/plugin/coreit/AbstractDependencyMojo.java
Show resolved
Hide resolved
709ca4a to
5b73e99
Compare
5b73e99 to
e0d1061
Compare
|
Too big a list of pmd exclusions. Please avoid opening PR if You see lots of planned updates, to avoid noise and unnecessary notifications. Thank you for understanding |
why cant we apply this valuable pattern inside the code too?
which one seems simpler?
what a coincidence that all languages agree upon the same:
|


Error prone, which is default, only exposes 3 issues, which seem to have real impact:
DefaultXmlService#findNodeById#2334AbstractDependencyMojoPMD-Rule:EmptyControlStatement#2368Issues:
@SuppressWarnings("checkstyle:UnusedLocalVariable")#2367@SuppressWarnings("checkstyle:UnusedLocalVariable")#2366@SuppressWarnings("checkstyle:UnusedLocalVariable")#2365@SuppressWarnings("checkstyle:UnusedLocalVariable")#2369Best practices impacts on code shape.
maven-pmd-plugin: reactivatePMD- Best practices #2331