UI-Component Sets

PMD Results

The following document contains the results of PMD 4.2.5.

Files

jakarta/faces/FacesException.java

Violation Line
Overriding method merely calls super 49 - 52

jakarta/faces/FactoryFinder.java

Violation Line
Avoid empty catch blocks 403 - 405

jakarta/faces/_FactoryFinderProviderFactory.java

Violation Line
Avoid empty catch blocks 128 - 131

jakarta/faces/application/ResourceHandler.java

Violation Line
Avoid unused private fields such as 'MYFACES_JS_RESOURCE_NAME_UNCOMPRESSED'. 71
Avoid unused private fields such as 'RENDERED_MYFACES_JS'. 74

jakarta/faces/component/UIComponent.java

Violation Line
Avoid empty catch blocks 700 - 703

jakarta/faces/component/UIComponentBase.java

Violation Line
These nested if statements could be combined 360 - 365

jakarta/faces/component/UIData.java

Violation Line
Error while parsing /Users/siedlecki/open-source/apache/api/src/main/java/jakarta/faces/component/UIData.java: Encountered " ">" "> "" at line 2187, column 50. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /Users/siedlecki/open-source/apache/api/src/main/java/jakarta/faces/component/UIData.java: Encountered " ">" "> "" at line 2187, column 50. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0

jakarta/faces/component/UIInput.java

Violation Line
Avoid empty if statements 682 - 684
These nested if statements could be combined 1424 - 1427

jakarta/faces/component/UIOutput.java

Violation Line
Avoid empty if statements 197 - 200

jakarta/faces/component/UISelectMany.java

Violation Line
These nested if statements could be combined 258 - 263

jakarta/faces/component/UIViewRoot.java

Violation Line
Avoid empty catch blocks 122 - 125
Avoid empty catch blocks 136 - 139
Avoid empty catch blocks 629 - 633

jakarta/faces/component/_ComponentChildrenList.java

Violation Line
Overriding method merely calls super 39 - 42
Overriding method merely calls super 45 - 48
These nested if statements could be combined 128 - 145
These nested if statements could be combined 131 - 144

jakarta/faces/component/_ComponentFacetMap.java

Violation Line
Avoid unused method parameters such as 'facetName'. 162 - 187
These nested if statements could be combined 167 - 184
These nested if statements could be combined 170 - 183

jakarta/faces/component/_SelectItemsUtil.java

Violation Line
Avoid empty catch blocks 158 - 161
Avoid empty catch blocks 162 - 165

jakarta/faces/component/_SharedRendererUtils.java

Violation Line
Avoid empty catch blocks 478 - 481

jakarta/faces/component/html/_HtmlInputFile.java

Violation Line
These nested if statements could be combined 149 - 152

jakarta/faces/convert/BigDecimalConverter.java

Violation Line
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal 71

jakarta/faces/convert/DateTimeConverter.java

Violation Line
Error while parsing /Users/siedlecki/open-source/apache/api/src/main/java/jakarta/faces/convert/DateTimeConverter.java: Encountered " ":" ": "" at line 388, column 29. Was expecting one of: "instanceof" ... ";" ... "=" ... "<" ... "?" ... "==" ... "<=" ... ">=" ... "!=" ... "||" ... "&&" ... "++" ... "--" ... "+" ... "-" ... "*" ... "/" ... "&" ... "|" ... "^" ... "%" ... "+=" ... "-=" ... "*=" ... "/=" ... "&=" ... "|=" ... "^=" ... "%=" ... "<<=" ... ">>=" ... ">>>=" ... ">" ... "<" ... 0
Error while parsing /Users/siedlecki/open-source/apache/api/src/main/java/jakarta/faces/convert/DateTimeConverter.java: Encountered " ":" ": "" at line 388, column 29. Was expecting one of: "instanceof" ... ";" ... "=" ... "<" ... "?" ... "==" ... "<=" ... ">=" ... "!=" ... "||" ... "&&" ... "++" ... "--" ... "+" ... "-" ... "*" ... "/" ... "&" ... "|" ... "^" ... "%" ... "+=" ... "-=" ... "*=" ... "/=" ... "&=" ... "|=" ... "^=" ... "%=" ... "<<=" ... ">>=" ... ">>>=" ... ">" ... "<" ... 0

jakarta/faces/event/PostRenderViewEvent.java

Violation Line
Avoid unused constructor parameters such as 'facesContext'. 38 - 41

jakarta/faces/event/PostRestoreStateEvent.java

Violation Line
Avoid unused constructor parameters such as 'facesContext'. 40 - 43

jakarta/faces/event/PostValidateEvent.java

Violation Line
Avoid unused constructor parameters such as 'facesContext'. 40 - 43

jakarta/faces/model/IterableDataModel.java

Violation Line
Avoid empty if statements 125 - 127
Avoid empty if statements 129 - 131

jakarta/faces/validator/DoubleRangeValidator.java

Violation Line
These nested if statements could be combined 120 - 124

jakarta/faces/validator/LengthValidator.java

Violation Line
These nested if statements could be combined 103 - 107
These nested if statements could be combined 112 - 116

jakarta/faces/validator/LongRangeValidator.java

Violation Line
These nested if statements could be combined 120 - 124
Avoid unused private methods such as 'isDisabled()'. 280
Avoid unused private methods such as 'getFor()'. 286

jakarta/faces/webapp/UIComponentClassicTagBase.java

Violation Line
These nested if statements could be combined 504 - 513
These nested if statements could be combined 702 - 710
These nested if statements could be combined 1147 - 1150