PMD Results

The following document contains the results of PMD 6.49.0.

Violations By Priority

Priority 2

org/eclipse/aether/internal/impl/collect/DefaultDependencyCycle.java

Rule Violation Line
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 106

Priority 3

org/eclipse/aether/internal/impl/DefaultRemoteRepositoryManager.java

Rule Violation Line
EmptyControlStatement Empty if statement 284289
EmptyControlStatement Empty if statement 293298

org/eclipse/aether/internal/impl/resolution/TrustedChecksumsArtifactResolverPostProcessor.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'LOGGER'. 95

Priority 4

org/eclipse/aether/internal/impl/DefaultArtifactResolver.java

Rule Violation Line
UselessParentheses Useless parentheses. 355

org/eclipse/aether/internal/impl/DefaultFileProcessor.java

Rule Violation Line
UselessParentheses Useless parentheses. 76

org/eclipse/aether/internal/impl/DefaultUpdateCheckManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 319

org/eclipse/aether/internal/impl/SimpleLocalRepositoryManagerFactory.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Objects.requireNonNull' due to existing static import 'java.util.Objects.requireNonNull' 59

org/eclipse/aether/internal/impl/collect/DefaultDependencyCycle.java

Rule Violation Line
UselessParentheses Useless parentheses. 42

org/eclipse/aether/internal/impl/synccontext/legacy/DefaultSyncContextFactory.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Objects.requireNonNull' due to existing static import 'java.util.Objects.requireNonNull' 54
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Objects.requireNonNull' due to existing static import 'java.util.Objects.requireNonNull' 59

org/eclipse/aether/internal/impl/synccontext/named/StaticNameMapper.java

Rule Violation Line
UselessParentheses Useless parentheses. 43
UselessParentheses Useless parentheses. 43

Files

org/eclipse/aether/internal/impl/DefaultArtifactResolver.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 355

org/eclipse/aether/internal/impl/DefaultFileProcessor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 76

org/eclipse/aether/internal/impl/DefaultRemoteRepositoryManager.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 284289
EmptyControlStatement Empty if statement 3 293298

org/eclipse/aether/internal/impl/DefaultUpdateCheckManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 319

org/eclipse/aether/internal/impl/SimpleLocalRepositoryManagerFactory.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Objects.requireNonNull' due to existing static import 'java.util.Objects.requireNonNull' 4 59

org/eclipse/aether/internal/impl/collect/DefaultDependencyCycle.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 42
AvoidBranchingStatementAsLastInLoop Avoid using a branching statement as the last in a loop. 2 106

org/eclipse/aether/internal/impl/resolution/TrustedChecksumsArtifactResolverPostProcessor.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'LOGGER'. 3 95

org/eclipse/aether/internal/impl/synccontext/legacy/DefaultSyncContextFactory.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Objects.requireNonNull' due to existing static import 'java.util.Objects.requireNonNull' 4 54
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Objects.requireNonNull' due to existing static import 'java.util.Objects.requireNonNull' 4 59

org/eclipse/aether/internal/impl/synccontext/named/StaticNameMapper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 43
UselessParentheses Useless parentheses. 4 43