UI-Component Sets

PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/myfaces/application/ActionListenerImpl.java

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

org/apache/myfaces/application/ApplicationImpl.java

Violation Line
Avoid unused private fields such as 'PROJECT_STAGE_PARAM_NAME'. 151
Avoid empty catch blocks 813 - 816
Avoid empty catch blocks 817 - 826

org/apache/myfaces/application/NavigationHandlerImpl.java

Violation Line
Avoid empty catch blocks 1080 - 1086

org/apache/myfaces/application/ResourceHandlerImpl.java

Violation Line
Avoid empty catch blocks 733 - 736

org/apache/myfaces/application/viewstate/RandomKeyFactory.java

Violation Line
Avoid empty catch blocks 101 - 105

org/apache/myfaces/application/viewstate/SecureRandomKeyFactory.java

Violation Line
Avoid empty catch blocks 123 - 127

org/apache/myfaces/application/viewstate/SerializedViewCollection.java

Violation Line
Avoid unused private fields such as 'log'. 37
Avoid empty while statements 92 - 94
These nested if statements could be combined 102 - 117
Avoid empty while statements 138 - 140
Avoid empty while statements 163 - 165

org/apache/myfaces/application/viewstate/ServerSideStateCacheImpl.java

Violation Line
These nested if statements could be combined 342 - 351
These nested if statements could be combined 399 - 405

org/apache/myfaces/application/viewstate/SessionIdGenerator.java

Violation Line
These nested if statements could be combined 277 - 281

org/apache/myfaces/cdi/impl/CDIManagedBeanHandlerImpl.java

Violation Line
These nested if statements could be combined 109 - 119
These nested if statements could be combined 141 - 144

org/apache/myfaces/cdi/util/AbstractContext.java

Violation Line
These nested if statements could be combined 93 - 97

org/apache/myfaces/config/ConfigFilesXmlValidationUtils.java

Violation Line
These nested if statements could be combined 167 - 171
Avoid empty catch blocks 278 - 281
Avoid empty catch blocks 287 - 290
Avoid empty catch blocks 301 - 303
Avoid empty catch blocks 452 - 455
Avoid empty catch blocks 460 - 463
Avoid empty catch blocks 474 - 476

org/apache/myfaces/config/DefaultFacesConfigurationMerger.java

Violation Line
These nested if statements could be combined 143 - 148
These nested if statements could be combined 205 - 211

org/apache/myfaces/config/DefaultFacesConfigurationProvider.java

Violation Line
Avoid empty catch blocks 619 - 621
Avoid empty catch blocks 645 - 647
Avoid empty catch blocks 763 - 766

org/apache/myfaces/config/FacesConfigurator.java

Violation Line
Avoid empty catch blocks 344 - 347

org/apache/myfaces/config/annotation/AnnotationConfigurator.java

Violation Line
These nested if statements could be combined 446 - 450
These nested if statements could be combined 478 - 483

org/apache/myfaces/config/annotation/DefaultAnnotationProvider.java

Violation Line
Avoid empty catch blocks 497 - 500
Avoid empty catch blocks 512 - 515
Avoid empty catch blocks 516 - 519
Avoid empty catch blocks 635 - 638
Avoid empty catch blocks 654 - 657
Avoid empty catch blocks 658 - 661

org/apache/myfaces/config/annotation/DefaultLifecycleProviderFactory.java

Violation Line
Avoid empty catch blocks 218 - 221
Avoid empty catch blocks 222 - 225

org/apache/myfaces/config/annotation/Tomcat7AnnotationLifecycleProvider.java

Violation Line
Avoid unused constructor parameters such as 'externalContext'. 46 - 49
Avoid empty catch blocks 111 - 114

org/apache/myfaces/config/annotation/TomcatAnnotationLifecycleProvider.java

Violation Line
Avoid empty catch blocks 79 - 82

org/apache/myfaces/config/annotation/_ClassByteCodeAnnotationFilter.java

Violation Line
Avoid unused local variables such as 'minorVersion'. 102

org/apache/myfaces/config/impl/digester/DigesterFacesConfigUnmarshallerImpl.java

Violation Line
Avoid unused method parameters such as 'externalContext'. 348 - 369
Avoid unused method parameters such as 'systemId'. 461 - 493

org/apache/myfaces/config/util/Vertex.java

Violation Line
Avoid unused private fields such as 'm_seen'. 41

org/apache/myfaces/context/FacesContextFactoryImpl.java

Violation Line
These nested if statements could be combined 89 - 93

org/apache/myfaces/context/PartialResponseWriterImpl.java

Violation Line
Overriding method merely calls super 351 - 354

org/apache/myfaces/context/RequestViewContext.java

Violation Line
Avoid unused constructor parameters such as 'rvm'. 63 - 66

org/apache/myfaces/context/RequestViewMetadata.java

Violation Line
These nested if statements could be combined 82 - 85
These nested if statements could be combined 107 - 110

org/apache/myfaces/context/servlet/FacesContextImplBase.java

Violation Line
These nested if statements could be combined 282 - 290

org/apache/myfaces/context/servlet/PartialViewContextImpl.java

Violation Line
Avoid unused private fields such as 'JAVAX_FACES_REQUEST'. 68

org/apache/myfaces/context/servlet/ServletExternalContextImpl.java

Violation Line
These nested if statements could be combined 828 - 844

org/apache/myfaces/el/unified/ResolverBuilderForFaces.java

Violation Line
Avoid empty catch blocks 66 - 69
Avoid empty catch blocks 70 - 73
Avoid empty catch blocks 74 - 77
Avoid empty catch blocks 120 - 122
Avoid empty catch blocks 123 - 125
Avoid empty catch blocks 126 - 128
Avoid empty catch blocks 129 - 131

org/apache/myfaces/el/unified/resolver/CompositeComponentELResolver.java

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

org/apache/myfaces/el/unified/resolver/ManagedBeanResolver.java

Violation Line
These nested if statements could be combined 192 - 195
These nested if statements could be combined 212 - 215

org/apache/myfaces/flow/FlowHandlerImpl.java

Violation Line
Avoid empty if statements 137 - 139
Avoid unused method parameters such as 'flow'. 343 - 359

org/apache/myfaces/flow/builder/NavigationCaseBuilderImpl.java

Violation Line
Avoid unused private fields such as '_flowBuilder'. 37

org/apache/myfaces/flow/builder/SwitchCaseBuilderImpl.java

Violation Line
Avoid unused private fields such as '_facesFlow'. 36
Avoid unused private fields such as '_switchBuilderImpl'. 37

org/apache/myfaces/lifecycle/CODIClientSideWindow.java

Violation Line
These nested if statements could be combined 124 - 127
Avoid empty catch blocks 274 - 277
Avoid unused local variables such as 'existingParameters'. 334
Avoid unused local variables such as 'urlContainsWindowId'. 335

org/apache/myfaces/lifecycle/DefaultRestoreViewSupport.java

Violation Line
Avoid empty catch blocks 567 - 570

org/apache/myfaces/lifecycle/RestoreViewExecutor.java

Violation Line
Avoid empty if statements 427 - 429
Avoid empty if statements 486 - 488

org/apache/myfaces/logging/MyfacesLogger.java

Violation Line
Avoid empty catch blocks 1812 - 1815

org/apache/myfaces/renderkit/ErrorPageWriter.java

Violation Line
Avoid empty catch blocks 290 - 293
These nested if statements could be combined 836 - 843
Avoid empty catch blocks 1010 - 1013
These nested if statements could be combined 1203 - 1212
Avoid empty catch blocks 1339 - 1342
Avoid empty catch blocks 1360 - 1363

org/apache/myfaces/renderkit/RenderKitFactoryImpl.java

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

org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java

Violation Line
Avoid unused private methods such as 'checkNull(Object,String)'. 405

org/apache/myfaces/renderkit/html/HtmlResponseStateManager.java

Violation Line
Avoid unused private fields such as 'log'. 48

org/apache/myfaces/resource/TempDirFileCacheContractResourceLoader.java

Violation Line
Overriding method merely calls super 173 - 176
Avoid empty catch blocks 249 - 252

org/apache/myfaces/resource/TempDirFileCacheResourceLoader.java

Violation Line
Overriding method merely calls super 213 - 216
Avoid empty catch blocks 305 - 308

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

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

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

Violation Line
Avoid empty if statements 263 - 265
Avoid empty if statements 345 - 347
Avoid empty if statements 388 - 390

org/apache/myfaces/spi/impl/CDIAnnotationDelegateInjectionProvider.java

Violation Line
Avoid empty catch blocks 46 - 49

org/apache/myfaces/spi/impl/DefaultAnnotationProviderFactory.java

Violation Line
Avoid empty catch blocks 96 - 99
Avoid empty catch blocks 100 - 103

org/apache/myfaces/spi/impl/DefaultFaceletConfigResourceProviderFactory.java

Violation Line
Avoid empty catch blocks 82 - 85
Avoid empty catch blocks 86 - 89

org/apache/myfaces/spi/impl/DefaultFacesConfigResourceProviderFactory.java

Violation Line
Avoid empty catch blocks 81 - 84
Avoid empty catch blocks 85 - 88

org/apache/myfaces/spi/impl/DefaultFacesConfigurationMergerFactory.java

Violation Line
Avoid empty catch blocks 81 - 84
Avoid empty catch blocks 85 - 88

org/apache/myfaces/spi/impl/DefaultFacesConfigurationProviderFactory.java

Violation Line
Avoid empty catch blocks 90 - 93
Avoid empty catch blocks 94 - 97

org/apache/myfaces/spi/impl/DefaultInjectionProviderFactory.java

Violation Line
Avoid empty catch blocks 222 - 225
Avoid empty catch blocks 226 - 229
Avoid unused method parameters such as 'externalContext'. 269 - 328

org/apache/myfaces/spi/impl/DefaultResourceLibraryContractsProviderFactory.java

Violation Line
Avoid empty catch blocks 83 - 86
Avoid empty catch blocks 87 - 90

org/apache/myfaces/spi/impl/DefaultServiceProviderFinder.java

Violation Line
Avoid empty catch blocks 156 - 159

org/apache/myfaces/spi/impl/DefaultWebConfigProviderFactory.java

Violation Line
Avoid empty catch blocks 85 - 88
Avoid empty catch blocks 89 - 92

org/apache/myfaces/spi/impl/Tomcat7AnnotationInjectionProvider.java

Violation Line
Avoid unused constructor parameters such as 'externalContext'. 43 - 46
Avoid empty catch blocks 158 - 161

org/apache/myfaces/spi/impl/TomcatAnnotationInjectionProvider.java

Violation Line
Avoid empty catch blocks 96 - 99

org/apache/myfaces/taglib/core/AttributeTag.java

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

org/apache/myfaces/taglib/core/DelegateValueChangeListener.java

Violation Line
Avoid empty catch blocks 111 - 115
Avoid empty catch blocks 139 - 143

org/apache/myfaces/taglib/core/GenericMinMaxValidatorTag.java

Violation Line
These nested if statements could be combined 84 - 87

org/apache/myfaces/taglib/core/ValidateRequiredTag.java

Violation Line
These nested if statements could be combined 90 - 93

org/apache/myfaces/util/CDataEndEscapeFilterWriter.java

Violation Line
These nested if statements could be combined 50 - 54

org/apache/myfaces/util/ContainerUtils.java

Violation Line
Avoid empty catch blocks 58 - 61

org/apache/myfaces/util/DebugUtils.java

Violation Line
Avoid empty if statements 219 - 221

org/apache/myfaces/view/ViewDeclarationLanguageFactoryImpl.java

Violation Line
These nested if statements could be combined 153 - 158

org/apache/myfaces/view/facelets/DefaultFaceletsStateManagementStrategy.java

Violation Line
Avoid unused private fields such as '_config'. 188

org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java

Violation Line
Avoid unused private fields such as '_config'. 292
Avoid empty if statements 362 - 364
These nested if statements could be combined 599 - 602
These nested if statements could be combined 1153 - 1158
Avoid unused method parameters such as 'attributeName'. 1429 - 1457
Avoid unused method parameters such as 'targetAttributeName'. 1429 - 1457
Avoid unused method parameters such as 'mctx'. 1429 - 1457
Avoid unused method parameters such as 'topLevelComponent'. 1429 - 1457
Avoid unused method parameters such as 'attributeName'. 1459 - 1507
Avoid unused method parameters such as 'topLevelComponent'. 1459 - 1507
Avoid unused method parameters such as 'attributeName'. 1509 - 1551
Avoid unused method parameters such as 'topLevelComponent'. 1509 - 1551
Avoid unused method parameters such as 'attributeName'. 1553 - 1602
Avoid unused method parameters such as 'topLevelComponent'. 1553 - 1602
Avoid unused local variables such as 'state'. 1993

org/apache/myfaces/view/facelets/ViewPoolProcessor.java

Violation Line
These nested if statements could be combined 548 - 558
Avoid empty if statements 584 - 587
Avoid unused local variables such as 'state'. 993

org/apache/myfaces/view/facelets/compiler/Compiler.java

Violation Line
Avoid empty catch blocks 162 - 165

org/apache/myfaces/view/facelets/compiler/SAXCompiler.java

Violation Line
These nested if statements could be combined 584 - 590
These nested if statements could be combined 699 - 705

org/apache/myfaces/view/facelets/compiler/TagLibraryConfigUnmarshallerImpl.java

Violation Line
Avoid empty if statements 196 - 198
Avoid empty if statements 238 - 240
Avoid empty if statements 242 - 244
Avoid empty if statements 246 - 248

org/apache/myfaces/view/facelets/compiler/TextUnit.java

Violation Line
Unnecessary final modifier in final class 438 - 462
Unnecessary final modifier in final class 464 - 550
These nested if statements could be combined 481 - 484
Unnecessary final modifier in final class 561 - 712
These nested if statements could be combined 614 - 617
Avoid unused private methods such as 'getFirstTextCharLocationIgnoringSpacesTabsAndCarriageReturn(String)'. 714

org/apache/myfaces/view/facelets/el/ContextAwareTagMethodExpression.java

Violation Line
Avoid empty catch blocks 125 - 128

org/apache/myfaces/view/facelets/el/ContextAwareTagValueExpression.java

Violation Line
Avoid empty catch blocks 120 - 123

org/apache/myfaces/view/facelets/el/DefaultVariableMapper.java

Violation Line
These nested if statements could be combined 85 - 104
These nested if statements could be combined 130 - 133

org/apache/myfaces/view/facelets/el/ELText.java

Violation Line
These nested if statements could be combined 508 - 531
These nested if statements could be combined 510 - 530
These nested if statements could be combined 593 - 616
These nested if statements could be combined 595 - 615
These nested if statements could be combined 668 - 676
These nested if statements could be combined 670 - 675

org/apache/myfaces/view/facelets/impl/DefaultFacelet.java

Violation Line
Avoid empty if statements 475 - 478

org/apache/myfaces/view/facelets/impl/DefaultFaceletFactory.java

Violation Line
Avoid empty if statements 230 - 233
Avoid empty if statements 477 - 480
Avoid empty if statements 531 - 534

org/apache/myfaces/view/facelets/impl/FaceletCacheImpl.java

Violation Line
Avoid empty catch blocks 183 - 186

org/apache/myfaces/view/facelets/impl/FaceletCompositionContextImpl.java

Violation Line
These nested if statements could be combined 881 - 892

org/apache/myfaces/view/facelets/pool/impl/ViewPoolImpl.java

Violation Line
Avoid empty catch blocks 316 - 319

org/apache/myfaces/view/facelets/tag/LegacyUserTagHandler.java

Violation Line
Avoid unused local variables such as 'actx'. 155
Avoid empty finally blocks 161 - 164
Avoid unused local variables such as 'actx'. 174
Avoid empty finally blocks 180 - 183

org/apache/myfaces/view/facelets/tag/composite/AttributeHandler.java

Violation Line
Avoid empty catch blocks 340 - 343

org/apache/myfaces/view/facelets/tag/composite/CompositeComponentDefinitionTagHandler.java

Violation Line
These nested if statements could be combined 125 - 129

org/apache/myfaces/view/facelets/tag/composite/CompositeComponentResourceTagHandler.java

Violation Line
Avoid empty if statements 185 - 187
These nested if statements could be combined 595 - 662
These nested if statements could be combined 792 - 799

org/apache/myfaces/view/facelets/tag/composite/CompositeResourceLibrary.java

Violation Line
These nested if statements could be combined 196 - 200
These nested if statements could be combined 209 - 227
These nested if statements could be combined 243 - 273

org/apache/myfaces/view/facelets/tag/jsf/ComponentSupport.java

Violation Line
Avoid empty catch blocks 856 - 858
Avoid empty catch blocks 859 - 861
Avoid empty catch blocks 862 - 864

org/apache/myfaces/view/facelets/tag/jsf/ComponentTagHandlerDelegate.java

Violation Line
These nested if statements could be combined 818 - 822
These nested if statements could be combined 830 - 839

org/apache/myfaces/view/facelets/tag/jsf/core/SelectItemsHandler.java

Violation Line
Avoid unused private methods such as 'getNoSelectionValue()'. 53

org/apache/myfaces/view/facelets/tag/jsf/html/DefaultTagDecorator.java

Violation Line
Avoid unused private methods such as 'isReservedJSFAttribute(String)'. 396

org/apache/myfaces/view/facelets/tag/jstl/core/ChooseHandler.java

Violation Line
These nested if statements could be combined 110 - 148
These nested if statements could be combined 162 - 168
These nested if statements could be combined 182 - 188

org/apache/myfaces/view/facelets/tag/jstl/core/ForEachHandler.java

Violation Line
Avoid unused method parameters such as 'i'. 714 - 730

org/apache/myfaces/view/facelets/tag/jstl/core/LegacyForEachHandler.java

Violation Line
Unnecessary final modifier in final class 329 - 336
Unnecessary final modifier in final class 338 - 345
Unnecessary final modifier in final class 347 - 354
Unnecessary final modifier in final class 356 - 363
Unnecessary final modifier in final class 365 - 372
Unnecessary final modifier in final class 374 - 389
Unnecessary final modifier in final class 391 - 398
Unnecessary final modifier in final class 400 - 407
Unnecessary final modifier in final class 409 - 432

org/apache/myfaces/view/facelets/tag/jstl/core/SetHandler.java

Violation Line
These nested if statements could be combined 161 - 164

org/apache/myfaces/view/facelets/tag/jstl/fn/JstlFunction.java

Violation Line
Avoid empty if statements 109 - 111

org/apache/myfaces/view/facelets/tag/ui/LegacyIncludeHandler.java

Violation Line
Avoid empty if statements 215 - 217

org/apache/myfaces/view/facelets/tag/ui/ParamHandler.java

Violation Line
These nested if statements could be combined 102 - 106
These nested if statements could be combined 137 - 141

org/apache/myfaces/view/facelets/tag/ui/RepeatHandler.java

Violation Line
Avoid empty catch blocks 91 - 94

org/apache/myfaces/view/facelets/util/Classpath.java

Violation Line
Avoid empty catch blocks 218 - 220
Avoid empty catch blocks 351 - 354
Avoid empty catch blocks 381 - 385

org/apache/myfaces/view/facelets/util/Resource.java

Violation Line
These nested if statements could be combined 78 - 81
Avoid empty catch blocks 107 - 111

org/apache/myfaces/webapp/AbstractFacesInitializer.java

Violation Line
Avoid unused method parameters such as 'servletContext'. 326 - 331
Avoid empty catch blocks 581 - 584
Avoid empty catch blocks 594 - 597
Avoid empty catch blocks 598 - 603
Avoid empty catch blocks 613 - 616
Avoid empty catch blocks 617 - 622

org/apache/myfaces/webapp/Jsp21FacesInitializer.java

Violation Line
Avoid empty catch blocks 90 - 93

org/apache/myfaces/webapp/StartupServletContextListener.java

Violation Line
Avoid empty catch blocks 229 - 232
These nested if statements could be combined 305 - 308

org/apache/myfaces/webapp/WebConfigParamsLogger.java

Violation Line
These nested if statements could be combined 57 - 60
These nested if statements could be combined 65 - 68
These nested if statements could be combined 118 - 121
These nested if statements could be combined 150 - 153
These nested if statements could be combined 176 - 179
These nested if statements could be combined 284 - 287
These nested if statements could be combined 310 - 313
These nested if statements could be combined 336 - 339
These nested if statements could be combined 362 - 365
These nested if statements could be combined 388 - 391
These nested if statements could be combined 414 - 417
These nested if statements could be combined 478 - 481
These nested if statements could be combined 504 - 507
These nested if statements could be combined 530 - 533
These nested if statements could be combined 582 - 585
These nested if statements could be combined 608 - 611
These nested if statements could be combined 634 - 637
These nested if statements could be combined 660 - 663
These nested if statements could be combined 686 - 689
These nested if statements could be combined 718 - 721
These nested if statements could be combined 744 - 747
These nested if statements could be combined 770 - 773
These nested if statements could be combined 796 - 799
These nested if statements could be combined 822 - 825
These nested if statements could be combined 854 - 857
These nested if statements could be combined 880 - 883
These nested if statements could be combined 906 - 909
These nested if statements could be combined 932 - 935
These nested if statements could be combined 964 - 967
These nested if statements could be combined 990 - 993
These nested if statements could be combined 1016 - 1019
These nested if statements could be combined 1042 - 1045
These nested if statements could be combined 1068 - 1071
These nested if statements could be combined 1094 - 1097
These nested if statements could be combined 1120 - 1123
These nested if statements could be combined 1146 - 1149
These nested if statements could be combined 1172 - 1175
These nested if statements could be combined 1282 - 1285
These nested if statements could be combined 1308 - 1311
These nested if statements could be combined 1370 - 1373
These nested if statements could be combined 1414 - 1417
These nested if statements could be combined 1446 - 1449
These nested if statements could be combined 1478 - 1481
These nested if statements could be combined 1540 - 1543
These nested if statements could be combined 1572 - 1575
These nested if statements could be combined 1598 - 1601
These nested if statements could be combined 1654 - 1657
These nested if statements could be combined 1730 - 1733
These nested if statements could be combined 1768 - 1771
These nested if statements could be combined 1800 - 1803
These nested if statements could be combined 1826 - 1829
These nested if statements could be combined 1852 - 1855
These nested if statements could be combined 1890 - 1893
These nested if statements could be combined 1922 - 1925
These nested if statements could be combined 1972 - 1975
These nested if statements could be combined 2010 - 2013
These nested if statements could be combined 2036 - 2039
These nested if statements could be combined 2074 - 2077
These nested if statements could be combined 2100 - 2103
These nested if statements could be combined 2138 - 2141
These nested if statements could be combined 2192 - 2195
These nested if statements could be combined 2224 - 2227
These nested if statements could be combined 2250 - 2253