PMD Results
The following document contains the results of PMD 5.1.2.
Files
info/magnolia/module/resources/ResourceLinker.java
Violation |
Line |
Unnecessary use of fully qualified name 'info.magnolia.resourceloader.Resource' due to existing import 'info.magnolia.resourceloader.Resource' |
161 |
info/magnolia/module/resources/loaders/ResourceLoader.java
Violation |
Line |
Avoid modifiers which are implied by the context |
54 |
Avoid modifiers which are implied by the context |
59 |
info/magnolia/module/resources/mapping/URI2ResourcesRepositoryMapping.java
Violation |
Line |
Useless parentheses. |
84 |
info/magnolia/module/resources/renderers/ReferenceResourceRenderer.java
Violation |
Line |
These nested if statements could be combined |
115–118 |
info/magnolia/module/resources/setup/InstallResourceTask.java
Violation |
Line |
Avoid unused constructor parameters such as 'modelClass'. |
118 |
info/magnolia/module/resources/setup/ResourceCleanUpTask.java
Violation |
Line |
Useless parentheses. |
377 |
Unnecessary use of fully qualified name 'JcrResourceOrigin.BINARY_NODE_NAME' due to existing import 'info.magnolia.resourceloader.jcr.JcrResourceOrigin' |
377 |
Useless parentheses. |
383 |
Unnecessary use of fully qualified name 'JcrResourceOrigin.BINARY_NODE_NAME' due to existing import 'info.magnolia.resourceloader.jcr.JcrResourceOrigin' |
392 |
info/magnolia/module/resources/setup/TemplateMigrationTask.java
Violation |
Line |
Avoid unused private methods such as 'templateEqualsResource(Node,Resource)'. |
221 |