PMD Results

The following document contains the results of PMD 5.3.5.

Files

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

Violation Line
Method call on object which may be null 183186
Useless parentheses. 183

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

Violation Line
Useless parentheses. 51

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

Violation Line
Useless parentheses. 127
Useless parentheses. 151
Useless parentheses. 219220

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

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

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

Violation Line
Useless parentheses. 162

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

Violation Line
Useless parentheses. 689
Useless parentheses. 696
Useless parentheses. 712
Useless parentheses. 726
Useless parentheses. 731

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

Violation Line
These nested if statements could be combined 6975
These nested if statements could be combined 7174

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 186

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

Violation Line
Avoid unused imports such as 'java.util.Collection' 23

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

Violation Line
Useless parentheses. 171

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

Violation Line
Useless parentheses. 91
Useless parentheses. 91

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

Violation Line
Useless parentheses. 164
Useless parentheses. 217
Useless parentheses. 260
Useless parentheses. 447

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

Violation Line
These nested if statements could be combined 120124

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

Violation Line
Useless parentheses. 92

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

Violation Line
Useless parentheses. 88
Useless parentheses. 109