PMD Results

The following document contains the results of PMD 5.6.1.

Files

org/eclipse/aether/util/artifact/SubArtifact.java

Violation Line
Useless parentheses. 185
Method call on object which may be null 185188

org/eclipse/aether/util/concurrency/WorkerThreadFactory.java

Violation Line
Useless parentheses. 51

org/eclipse/aether/util/filter/AbstractPatternDependencyFilter.java

Violation Line
Useless parentheses. 132
Useless parentheses. 156

org/eclipse/aether/util/graph/manager/ClassicDependencyManager.java

Violation Line
Useless parentheses. 198
Useless parentheses. 199

org/eclipse/aether/util/graph/manager/DefaultDependencyManager.java

Violation Line
Invoke equals() on the object you've already ensured is not null 193
Useless parentheses. 193
Useless parentheses. 194

org/eclipse/aether/util/graph/manager/TransitiveDependencyManager.java

Violation Line
Useless parentheses. 194
Useless parentheses. 195

org/eclipse/aether/util/graph/transformer/ConflictIdSorter.java

Violation Line
Useless parentheses. 163

org/eclipse/aether/util/graph/transformer/ConflictResolver.java

Violation Line
Useless parentheses. 689
Useless parentheses. 696
Useless parentheses. 712
Useless parentheses. 725
Useless parentheses. 727
Ternary operators that can be simplified with || or && 732
Useless parentheses. 732

org/eclipse/aether/util/graph/transformer/NearestVersionSelector.java

Violation Line
These nested if statements could be combined 7076
These nested if statements could be combined 7275

org/eclipse/aether/util/graph/visitor/AbstractDepthFirstNodeListGenerator.java

Violation Line
These nested if statements could be combined 8285

org/eclipse/aether/util/repository/DefaultMirrorSelector.java

Violation Line
Do not hard code the IP address 218

org/eclipse/aether/util/repository/JreProxySelector.java

Violation Line
Useless parentheses. 176

org/eclipse/aether/util/repository/SecretAuthentication.java

Violation Line
Useless parentheses. 94
Useless parentheses. 94

org/eclipse/aether/util/version/GenericVersion.java

Violation Line
Useless parentheses. 164
Useless parentheses. 218
Useless parentheses. 261
Useless parentheses. 448

org/eclipse/aether/util/version/GenericVersionRange.java

Violation Line
These nested if statements could be combined 123127

org/eclipse/aether/util/version/GenericVersionScheme.java

Violation Line
Useless parentheses. 97

org/eclipse/aether/util/version/UnionVersionRange.java

Violation Line
Useless parentheses. 89
Useless parentheses. 110