PMD Results

The following document contains the results of PMD 4.2.2.

Files

org/apache/xbean/propertyeditor/CollectionUtil.java

Violation Line
Unnecessary final modifier in final class 82 - 105
Unnecessary final modifier in final class 107 - 131
Unnecessary final modifier in final class 133 - 149
Unnecessary final modifier in final class 151 - 165

org/apache/xbean/propertyeditor/DateEditor.java

Violation Line
Avoid empty catch blocks 56 - 57

org/apache/xbean/propertyeditor/EnumConverter.java

Violation Line
Avoid empty catch blocks 41 - 42

org/apache/xbean/propertyeditor/GenericMapConverter.java

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

org/apache/xbean/propertyeditor/JndiConverter.java

Violation Line
Avoid unused imports such as 'java.util.regex.Pattern' 22

org/apache/xbean/propertyeditor/PatternConverter.java

Violation Line
Avoid unused imports such as 'java.util.logging.Logger' 20

org/apache/xbean/propertyeditor/PropertyEditors.java

Violation Line
Avoid duplicate imports such as 'org.apache.xbean.recipe.RecipeHelper.getTypeParameters' 19
Avoid empty catch blocks 126 - 127
Avoid empty catch blocks 131 - 132
Avoid empty catch blocks 411 - 412

org/apache/xbean/propertyeditor/ReferenceIdentityMap.java

Violation Line
Avoid empty while statements 207

org/apache/xbean/propertyeditor/URLEditor.java

Violation Line
Avoid empty catch blocks 58 - 61

org/apache/xbean/recipe/AsmParameterNameLoader.java

Violation Line
Avoid empty catch blocks 125 - 126
Avoid empty catch blocks 174 - 175
Avoid empty catch blocks 207 - 208

org/apache/xbean/recipe/CollectionRecipe.java

Violation Line
Avoid unused imports such as 'java.util.Dictionary' 23
Avoid unused imports such as 'java.util.Map' 27

org/apache/xbean/recipe/MapRecipe.java

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

org/apache/xbean/recipe/ObjectRecipe.java

Violation Line
Avoid unused local variables such as 'typeClass'. 266
Avoid empty catch blocks 546 - 547
Ensure you override both equals() and hashCode() 703
Ensure you override both equals() and hashCode() 717
Ensure you override both equals() and hashCode() 730
Ensure you override both equals() and hashCode() 743

org/apache/xbean/recipe/ParameterNameLoader.java

Violation Line
Avoid unused imports such as 'java.util.Map' 21

org/apache/xbean/recipe/ReferenceNameRecipe.java

Violation Line
No need to import a type that lives in the same package 24
No need to import a type that lives in the same package 25
No need to import a type that lives in the same package 26
No need to import a type that lives in the same package 27
No need to import a type that lives in the same package 28
No need to import a type that lives in the same package 29
Avoid unused local variables such as 'object'. 73
Avoid unused local variables such as 'object'. 78

org/apache/xbean/recipe/ReflectionUtil.java

Violation Line
Avoid empty catch blocks 51 - 52
Avoid empty catch blocks 898 - 899

org/apache/xbean/recipe/XbeanAsmParameterNameLoader.java

Violation Line
Avoid empty catch blocks 125 - 126
Avoid empty catch blocks 174 - 175
Avoid empty catch blocks 207 - 208