## PMD Results

The following document contains the results of PMD 4.2.5.

## Files

### org/apache/myfaces/orchestra/annotation/AnnotationInfo.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/annotation/AnnotationInfo.java: Can't use generics unless running in JDK 1.5 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/annotation/AnnotationInfo.java: Can't use generics unless running in JDK 1.5 mode! | 0

### org/apache/myfaces/orchestra/annotation/AnnotationInfoManager.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/annotation/AnnotationInfoManager.java: Can't use generics unless running in JDK 1.5 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/annotation/AnnotationInfoManager.java: Can't use generics unless running in JDK 1.5 mode! | 0

### org/apache/myfaces/orchestra/annotation/spring/AnnotationsInfoInitializer.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/annotation/spring/AnnotationsInfoInitializer.java: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/annotation/spring/AnnotationsInfoInitializer.java: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode! | 0

### org/apache/myfaces/orchestra/conversation/ConversationManager.java

Violation | Line
--- | ---
These nested if statements could be combined | 175 - 181
Avoid unused method parameters such as 'out'. | 706 - 710
Avoid unused method parameters such as 'in'. | 712 - 715

### org/apache/myfaces/orchestra/conversation/annotations/ConversationName.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/conversation/annotations/ConversationName.java: Can't use annotations when running in JDK 1.4 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/conversation/annotations/ConversationName.java: Can't use annotations when running in JDK 1.4 mode! | 0

### org/apache/myfaces/orchestra/conversation/annotations/ConversationRequire.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/conversation/annotations/ConversationRequire.java: Can't use annotations when running in JDK 1.4 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/conversation/annotations/ConversationRequire.java: Can't use annotations when running in JDK 1.4 mode! | 0

### org/apache/myfaces/orchestra/conversation/jsf/AccessScopePhaseListener.java

Violation | Line
--- | ---
Avoid unused method parameters such as 'event'. | 165 - 169

### org/apache/myfaces/orchestra/conversation/spring/AbstractSpringOrchestraScope.java

Violation | Line
--- | ---
These nested if statements could be combined | 307 - 310

### org/apache/myfaces/orchestra/lib/_ReentrantLock.java

Violation | Line
--- | ---
These nested if statements could be combined | 91 - 106

### org/apache/myfaces/orchestra/lib/_UrlMatcher.java

Violation | Line
--- | ---
These nested if statements could be combined | 67 - 70

### org/apache/myfaces/orchestra/lib/jsf/ExternalContextUtils.java

Violation | Line
--- | ---
Unnecessary final modifier in final class | 61 - 80
Unnecessary final modifier in final class | 89 - 110
Unnecessary final modifier in final class | 119 - 158
These nested if statements could be combined | 127 - 154
Unnecessary final modifier in final class | 172 - 212
These nested if statements could be combined | 181 - 208

### org/apache/myfaces/orchestra/lib/jsf/PortletOrchestraFacesContextFactory.java

Violation | Line
--- | ---
Avoid unused private fields such as 'log'. | 53
Avoid unused method parameters such as 'context'. | 186 - 204

### org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/AbstractAnnotationsViewControllerManager.java: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode! | 0

### org/apache/myfaces/orchestra/viewController/annotations/InitView.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/annotations/InitView.java: Can't use annotations when running in JDK 1.4 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/annotations/InitView.java: Can't use annotations when running in JDK 1.4 mode! | 0

### org/apache/myfaces/orchestra/viewController/annotations/PreProcess.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/annotations/PreProcess.java: Can't use annotations when running in JDK 1.4 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/annotations/PreProcess.java: Can't use annotations when running in JDK 1.4 mode! | 0

### org/apache/myfaces/orchestra/viewController/annotations/PreRenderView.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/annotations/PreRenderView.java: Can't use annotations when running in JDK 1.4 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/annotations/PreRenderView.java: Can't use annotations when running in JDK 1.4 mode! | 0

### org/apache/myfaces/orchestra/viewController/annotations/ViewController.java

Violation | Line
--- | ---
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/annotations/ViewController.java: Can't use annotations when running in JDK 1.4 mode! | 0
Error while parsing /home/lu4242/workspace/orchestra_1_5/myfaces-orchestra-core-1.5/src/main/java/org/apache/myfaces/orchestra/viewController/annotations/ViewController.java: Can't use annotations when running in JDK 1.4 mode! | 0

### org/apache/myfaces/orchestra/viewController/jsf/ViewControllerPhaseListener.java

Violation | Line
--- | ---
Avoid unused private fields such as 'initedViews'. | 65

### org/apache/myfaces/shared_orchestra/config/MyfacesConfig.java

Violation | Line
--- | ---
These nested if statements could be combined | 203 - 206
These nested if statements could be combined | 211 - 214

### org/apache/myfaces/shared_orchestra/renderkit/RendererUtils.java

Violation | Line
--- | ---
Ensure you override both equals() and hashCode() | 56
These nested if statements could be combined | 60 - 63

### org/apache/myfaces/shared_orchestra/renderkit/_SharedRendererUtils.java

Violation | Line
--- | ---
These nested if statements could be combined | 153 - 156
Avoid unused method parameters such as 'context'. | 226 - 236

### org/apache/myfaces/shared_orchestra/renderkit/html/HtmlButtonRendererBase.java

Violation | Line
--- | ---
These nested if statements could be combined | 88 - 90

### org/apache/myfaces/shared_orchestra/renderkit/html/HtmlLinkRendererBase.java

Violation | Line
--- | ---
Avoid empty if statements | 73 - 75

### org/apache/myfaces/shared_orchestra/renderkit/html/HtmlResponseWriterImpl.java

Violation | Line
--- | ---
These nested if statements could be combined | 237 - 244
These nested if statements could be combined | 240 - 243
Avoid empty if statements | 264 - 271

### org/apache/myfaces/shared_orchestra/renderkit/html/HtmlTableRendererBase.java

Violation | Line
--- | ---
These nested if statements could be combined | 344 - 347
These nested if statements could be combined | 907

### org/apache/myfaces/shared_orchestra/renderkit/html/HtmlTextRendererBase.java

Violation | Line
--- | ---
Avoid empty if statements | 178 - 180

### org/apache/myfaces/shared_orchestra/renderkit/html/util/HTMLEncoder.java

Violation | Line
--- | ---
Avoid empty if statements | 322 - 325
Avoid empty if statements | 347 - 349
Avoid empty if statements | 478 - 480
Avoid empty if statements | 499 - 501
Avoid empty if statements | 513 - 515

### org/apache/myfaces/shared_orchestra/util/BiLevelCacheMap.java

Violation | Line
--- | ---
These nested if statements could be combined | 117 - 121

### org/apache/myfaces/shared_orchestra/util/MessageUtils.java

Violation | Line
--- | ---
Avoid empty catch blocks | 280 - 282
Avoid empty catch blocks | 296 - 298
Avoid empty catch blocks | 317 - 319
Avoid empty catch blocks | 330 - 332
Avoid empty catch blocks | 351 - 353
Avoid empty catch blocks | 367 - 369
Avoid empty catch blocks | 383 - 385
Avoid empty catch blocks | 405 - 407
Avoid empty catch blocks | 418 - 420
Avoid empty catch blocks | 516 - 518
Avoid empty catch blocks | 533 - 535

### org/apache/myfaces/shared_orchestra/util/NullEnumeration.java

Violation | Line
--- | ---
Unnecessary final modifier in final class | 33 - 36

### org/apache/myfaces/shared_orchestra/util/NullIterator.java

Violation | Line
--- | ---
Unnecessary final modifier in final class | 39 - 42

### org/apache/myfaces/shared_orchestra/util/RestoreStateUtils.java

Violation | Line
--- | ---
Avoid empty catch blocks | 118 - 121

### org/apache/myfaces/shared_orchestra/util/StateUtils.java

Violation | Line
--- | ---
These nested if statements could be combined | 200 - 204
Unnecessary final modifier in final class | 230 - 245
Unnecessary final modifier in final class | 256 - 281
Unnecessary final modifier in final class | 334 - 353
Unnecessary final modifier in final class | 355 - 358
Unnecessary final modifier in final class | 363 - 387
Unnecessary final modifier in final class | 389 - 392
Unnecessary final modifier in final class | 394 - 425
Unnecessary final modifier in final class | 505 - 609
Avoid empty catch blocks | 597 - 602

### org/apache/myfaces/shared_orchestra/util/xml/XmlUtils.java

Violation | Line
--- | ---
Avoid empty if statements | 52 - 55

### org/apache/myfaces/shared_orchestra/webapp/webxml/FilterMapping.java

Violation | Line
--- | ---
These nested if statements could be combined | 41 - 44

### org/apache/myfaces/shared_orchestra/webapp/webxml/ServletMapping.java

Violation | Line
--- | ---
These nested if statements could be combined | 41 - 44

### org/apache/myfaces/shared_orchestra/webapp/webxml/WebXmlParser.java

Violation | Line
--- | ---
Avoid empty if statements | 247 - 249
Avoid empty if statements | 315 - 317
Avoid empty if statements | 351 - 353
Avoid empty if statements | 355 - 357