PMD Results
The following document contains the results of PMD 5.3.2.
Files
org/apache/maven/plugins/shade/mojo/ArtifactId.java
Violation |
Line |
Useless parentheses. |
65 |
Useless parentheses. |
66 |
Useless parentheses. |
67 |
Useless parentheses. |
68 |
Useless parentheses. |
68 |
Useless parentheses. |
68 |
org/apache/maven/plugins/shade/mojo/ShadeMojo.java
Violation |
Line |
Unnecessary use of fully qualified name 'org.apache.maven.plugins.shade.Shader' due to existing import 'org.apache.maven.plugins.shade.Shader' |
113 |
Avoid unused private fields such as 'artifactMetadataSource'. |
132 |
org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java
Violation |
Line |
The null check here is misplaced; if the variable is null there will be a NullPointerException |
158 |
The null check here is misplaced; if the variable is null there will be a NullPointerException |
158 |
Useless parentheses. |
158 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
181 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
307 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
361 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
415 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
469 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
523 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
577 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
631 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
685 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
739 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
793 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
847 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
901 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
955 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
1009 |
Unnecessary use of fully qualified name 'java.util.Collection' due to existing import 'java.util.Collection' |
1063 |
org/apache/maven/plugins/shade/resource/ComponentsXmlResourceTransformer.java
Violation |
Line |
Useless parentheses. |
198 |
org/apache/maven/plugins/shade/resource/PluginXmlResourceTransformer.java
Violation |
Line |
Useless parentheses. |
199 |