PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/maven/plugins/shade/mojo/ShadeMojo.java

ViolationLine
Avoid unused imports such as 'org.apache.maven.artifact.resolver.ArtifactCollector'26
Avoid unused private fields such as 'artifactMetadataSource'.132

org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java

ViolationLine
The null check here is misplaced; if the variable is null therell be a NullPointerException176
The null check here is misplaced; if the variable is null therell be a NullPointerException176

org/apache/maven/plugins/shade/resource/XmlAppendingTransformer.java

ViolationLine
Error while parsing /Users/benson/asf/mvn/plugins/maven-shade-plugin/target/checkout/src/main/java/org/apache/maven/plugins/shade/resource/XmlAppendingTransformer.java: Encountered " "@" "@ "" at line 101, column 19. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "false" ... "float" ... "int" ... "long" ... "new" ... "null" ... "short" ... "super" ... "this" ... "true" ... "void" ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <HEX_FLOATING_POINT_LITERAL> ... <CHARACTER_LITERAL> ... <STRING_LITERAL> ... <IDENTIFIER> ... "(" ... "++" ... "--" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... 0