PMD Results

The following document contains the results of PMD 6.38.0.

Violations By Priority

Priority 3

org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 251

org/apache/maven/repository/internal/DefaultVersionResolver.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 313

org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 48

Priority 4

org/apache/maven/repository/internal/DefaultVersionResolver.java

Rule Violation Line
UselessParentheses Useless parentheses. 419420

org/apache/maven/repository/internal/RelocatedArtifact.java

Rule Violation Line
UselessParentheses Useless parentheses. 50
UselessParentheses Useless parentheses. 51
UselessParentheses Useless parentheses. 52
UselessParentheses Useless parentheses. 53
UselessParentheses Useless parentheses. 97
UselessParentheses Useless parentheses. 119

Files

org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 251

org/apache/maven/repository/internal/DefaultVersionResolver.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 313
UselessParentheses Useless parentheses. 4 419420

org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 3 48

org/apache/maven/repository/internal/RelocatedArtifact.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 50
UselessParentheses Useless parentheses. 4 51
UselessParentheses Useless parentheses. 4 52
UselessParentheses Useless parentheses. 4 53
UselessParentheses Useless parentheses. 4 97
UselessParentheses Useless parentheses. 4 119