PMD Results

The following document contains the results of PMD

Files

org/apache/myfaces/tobago/example/sandbox/SampleWizard.java

Violation Line
Avoid unused private fields such as 'LOG' 29
Avoid unused private fields such as 'LOG' 29
Local variable could be declared final 39
Local variable could be declared final 42
Parameter 'indexToShow' is not assigned and could be declared final 83

org/apache/myfaces/tobago/example/sandbox/Controller.java

Violation Line
Private field could be made final. It is only initialized in the declaration or constructor. 41
Local variable could be declared final 111
Avoid if (x != y) ..; else ..; 112 - 116
Avoid empty if statements 116
Avoid empty if statements 116
Local variable could be declared final 121
Avoid if (x != y) ..; else ..; 122 - 126
Avoid empty if statements 126
Avoid empty if statements 126
When instantiating a SimpleDateFormat object, specify a Locale 131
Parameter 'tree' is not assigned and could be declared final 138
Parameter 'state' is not assigned and could be declared final 146
Parameter 'sliderValue' is not assigned and could be declared final 155
Parameter 'filterType' is not assigned and could be declared final 172

org/apache/myfaces/tobago/example/sandbox/Node.java

Violation Line
Parameter 'name' is not assigned and could be declared final 55
Parameter 'markup' is not assigned and could be declared final 63
Parameter 'expanded' is not assigned and could be declared final 71
Parameter 'disabled' is not assigned and could be declared final 83