Foundation

PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/myfaces/trinidad/bean/FacesBeanFactory.java

Violation Line
These nested if statements could be combined 144 - 145

org/apache/myfaces/trinidad/bean/FacesBeanImpl.java

Violation Line
These nested if statements could be combined 447 - 450

org/apache/myfaces/trinidad/bean/util/FlaggedPropertyMap.java

Violation Line
These nested if statements could be combined 65 - 68

org/apache/myfaces/trinidad/bean/util/PropertyArrayMap.java

Violation Line
These nested if statements could be combined 60 - 61

org/apache/myfaces/trinidad/bean/util/PropertyHashMap.java

Violation Line
These nested if statements could be combined 65 - 66

org/apache/myfaces/trinidad/change/ChangeUtils.java

Violation Line
These nested if statements could be combined 142 - 150

org/apache/myfaces/trinidad/change/RemoveChildComponentChange.java

Violation Line
These nested if statements could be combined 119 - 123

org/apache/myfaces/trinidad/component/StampState.java

Violation Line
Avoid unused private fields such as '_EMPTY_ARRAY'. 567

org/apache/myfaces/trinidad/component/TreeState.java

Violation Line
These nested if statements could be combined 111 - 112
These nested if statements could be combined 138 - 139

org/apache/myfaces/trinidad/component/UIXCollection.java

Violation Line
These nested if statements could be combined 112 - 116
Avoid unused local variables such as 'childCount'. 801
Avoid unused private fields such as '_EMPTY_ARRAY'. 1423

org/apache/myfaces/trinidad/component/UIXComponentBase.java

Violation Line
An empty statement (semicolon) not part of a loop 446
An empty statement (semicolon) not part of a loop 470
These nested if statements could be combined 901 - 902
These nested if statements could be combined 937 - 938
These nested if statements could be combined 974 - 975

org/apache/myfaces/trinidad/context/RequestContext.java

Violation Line
Avoid unused imports such as 'org.apache.myfaces.trinidad.util.ComponentUtils' 37

org/apache/myfaces/trinidad/convert/DateTimeConverter.java

Violation Line
An empty statement (semicolon) not part of a loop 554
An empty statement (semicolon) not part of a loop 1114
Avoid unused method parameters such as 'locale'. 1726 - 1734
Avoid unused method parameters such as 'pattern'. 1726 - 1734
Avoid unused method parameters such as 'tZone'. 1726 - 1734
Avoid unused method parameters such as 'locale'. 1737 - 1748
Avoid unused method parameters such as 'pattern'. 1737 - 1748
Avoid unused method parameters such as 'format'. 1737 - 1748
Avoid unused method parameters such as 'tZone'. 1737 - 1748

org/apache/myfaces/trinidad/model/ModelUtils.java

Violation Line
These nested if statements could be combined 135 - 136

org/apache/myfaces/trinidad/model/RowKeySetImpl.java

Violation Line
Unnecessary final modifier in final class 247 - 252

org/apache/myfaces/trinidad/model/RowKeySetTreeImpl.java

Violation Line
Avoid unused private fields such as '_LOG'. 704

org/apache/myfaces/trinidad/resource/CachingResourceLoader.java

Violation Line
Avoid empty catch blocks 225 - 227

org/apache/myfaces/trinidad/resource/DirectoryResourceLoader.java

Violation Line
Avoid unused private fields such as '_LOG'. 120

org/apache/myfaces/trinidad/util/ClassLoaderUtils.java

Violation Line
An empty statement (semicolon) not part of a loop 126

org/apache/myfaces/trinidad/util/FastMessageFormat.java

Violation Line
An empty statement (semicolon) not part of a loop 111
An empty statement (semicolon) not part of a loop 160

org/apache/myfaces/trinidad/validator/DoubleRangeValidator.java

Violation Line
Avoid unused imports such as 'javax.faces.validator.Validator' 25

org/apache/myfaces/trinidad/validator/LengthValidator.java

Violation Line
Avoid unused imports such as 'javax.faces.validator.Validator' 26
Avoid unused imports such as 'org.apache.myfaces.trinidad.util.IntegerUtils' 32

org/apache/myfaces/trinidad/validator/LongRangeValidator.java

Violation Line
Avoid unused imports such as 'javax.faces.validator.Validator' 26

org/apache/myfaces/trinidad/webapp/ResourceServlet.java

Violation Line
Avoid empty catch blocks 258 - 260
Overriding method merely calls super 352 - 356