[POC-FIX-PMD] maven-pmd-plugin: reactivate PMD - Error Prone#2364
Closed
Pankraz76 wants to merge 1 commit intoapache:masterfrom
Closed
[POC-FIX-PMD] maven-pmd-plugin: reactivate PMD - Error Prone#2364Pankraz76 wants to merge 1 commit intoapache:masterfrom
Pankraz76 wants to merge 1 commit intoapache:masterfrom
Conversation
This was referenced May 21, 2025
Closed
Contributor
Author
|
wip |
dbea0c8 to
2b0b437
Compare
Pankraz76
commented
May 21, 2025
| return !isEmpty(value) ? value : DEFAULT_CHILDREN_COMBINATION_MODE; | ||
| } | ||
|
|
||
| @Nullable |
Contributor
Author
There was a problem hiding this comment.
Pankraz76
commented
May 21, 2025
Pankraz76
commented
May 21, 2025
Pankraz76
commented
May 21, 2025
...in-active-collection/src/main/java/org/apache/maven/plugin/coreit/CheckThreadSafetyMojo.java
Show resolved
Hide resolved
Pankraz76
commented
May 21, 2025
...pendency-resolution/src/main/java/org/apache/maven/plugin/coreit/AbstractDependencyMojo.java
Show resolved
Hide resolved
709ca4a to
5b73e99
Compare
5b73e99 to
e0d1061
Compare
Member
|
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 |
Contributor
Author
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:
|
Contributor
Author
This was referenced May 28, 2025
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Author
Contributor
Author
9 tasks
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.


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