UI-Component Sets

PMD Results

The following document contains the results of PMD 4.2.5.

Files

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
These nested if statements could be combined175 - 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

ViolationLine
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

ViolationLine
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

ViolationLine
Avoid unused method parameters such as 'event'.165 - 169

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

ViolationLine
These nested if statements could be combined307 - 310

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

ViolationLine
These nested if statements could be combined91 - 106

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

ViolationLine
These nested if statements could be combined67 - 70

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

ViolationLine
Unnecessary final modifier in final class61 - 80
Unnecessary final modifier in final class89 - 110
Unnecessary final modifier in final class119 - 158
These nested if statements could be combined127 - 154
Unnecessary final modifier in final class172 - 212
These nested if statements could be combined181 - 208

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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
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

ViolationLine
Avoid unused private fields such as 'initedViews'.65

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

ViolationLine
These nested if statements could be combined203 - 206
These nested if statements could be combined211 - 214

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

ViolationLine
Ensure you override both equals() and hashCode()56
These nested if statements could be combined60 - 63

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

ViolationLine
These nested if statements could be combined153 - 156
Avoid unused method parameters such as 'context'.226 - 236

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

ViolationLine
These nested if statements could be combined88 - 90

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

ViolationLine
Avoid empty if statements73 - 75

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

ViolationLine
These nested if statements could be combined237 - 244
These nested if statements could be combined240 - 243
Avoid empty if statements264 - 271

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

ViolationLine
These nested if statements could be combined344 - 347
These nested if statements could be combined907

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

ViolationLine
Avoid empty if statements178 - 180

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

ViolationLine
Avoid empty if statements322 - 325
Avoid empty if statements347 - 349
Avoid empty if statements478 - 480
Avoid empty if statements499 - 501
Avoid empty if statements513 - 515

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

ViolationLine
These nested if statements could be combined117 - 121

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

ViolationLine
Avoid empty catch blocks280 - 282
Avoid empty catch blocks296 - 298
Avoid empty catch blocks317 - 319
Avoid empty catch blocks330 - 332
Avoid empty catch blocks351 - 353
Avoid empty catch blocks367 - 369
Avoid empty catch blocks383 - 385
Avoid empty catch blocks405 - 407
Avoid empty catch blocks418 - 420
Avoid empty catch blocks516 - 518
Avoid empty catch blocks533 - 535

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

ViolationLine
Unnecessary final modifier in final class33 - 36

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

ViolationLine
Unnecessary final modifier in final class39 - 42

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

ViolationLine
Avoid empty catch blocks118 - 121

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

ViolationLine
These nested if statements could be combined200 - 204
Unnecessary final modifier in final class230 - 245
Unnecessary final modifier in final class256 - 281
Unnecessary final modifier in final class334 - 353
Unnecessary final modifier in final class355 - 358
Unnecessary final modifier in final class363 - 387
Unnecessary final modifier in final class389 - 392
Unnecessary final modifier in final class394 - 425
Unnecessary final modifier in final class505 - 609
Avoid empty catch blocks597 - 602

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

ViolationLine
Avoid empty if statements52 - 55

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

ViolationLine
These nested if statements could be combined41 - 44

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

ViolationLine
These nested if statements could be combined41 - 44

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

ViolationLine
Avoid empty if statements247 - 249
Avoid empty if statements315 - 317
Avoid empty if statements351 - 353
Avoid empty if statements355 - 357