PMD Results

The following document contains the results of PMD 6.46.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. 121

Priority 3

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

Rule Violation Line
EmptyControlStatement Empty if statement 341350
EmptyControlStatement Empty if statement 354363

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

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

Priority 4

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

Rule Violation Line
UselessParentheses Useless parentheses. 388

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

Rule Violation Line
UselessParentheses Useless parentheses. 86

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

Rule Violation Line
UselessParentheses Useless parentheses. 371

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' 65

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

Rule Violation Line
UselessParentheses Useless parentheses. 46

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' 59
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Objects.requireNonNull' due to existing static import 'java.util.Objects.requireNonNull' 65

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

Rule Violation Line
UselessParentheses Useless parentheses. 46
UselessParentheses Useless parentheses. 46

Files

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 388

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 86

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

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 341350
EmptyControlStatement Empty if statement 3 354363

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 371

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 65

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

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

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

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

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 59
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'Objects.requireNonNull' due to existing static import 'java.util.Objects.requireNonNull' 4 65

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

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