PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/struts/action/ActionForm.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 156
org/apache/struts/action/ActionServlet.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 334
UnnecessarySemicolon Unnecessary semicolon 880
CollapsibleIfStatements These nested if statements could be combined 10261052
CollapsibleIfStatements These nested if statements could be combined 11721198
CollapsibleIfStatements These nested if statements could be combined 13181344
CollapsibleIfStatements These nested if statements could be combined 14931527
org/apache/struts/action/RequestProcessor.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 443445
CollapsibleIfStatements These nested if statements could be combined 452454
org/apache/struts/chain/commands/servlet/ValidateActionForm.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 6973
org/apache/struts/chain/contexts/ActionContext.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'APPLICATION_SCOPE': the field is declared in an interface type 41
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SESSION_SCOPE': the field is declared in an interface type 42
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REQUEST_SCOPE': the field is declared in an interface type 43
org/apache/struts/chain/contexts/WebActionContext.java
Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 5355
org/apache/struts/config/ConfigHelperInterface.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionMessages': the method is declared in an interface type 56
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMessageResources': the method is declared in an interface type 61
UnnecessaryModifier Unnecessary modifier 'public' on method 'getServletMapping': the method is declared in an interface type 68
UnnecessaryModifier Unnecessary modifier 'public' on method 'getToken': the method is declared in an interface type 75
UnnecessaryModifier Unnecessary modifier 'public' on method 'getException': the method is declared in an interface type 84
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMultipartRequestWrapper': the method is declared in an interface type 89
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMapping': the method is declared in an interface type 95
UnnecessaryModifier Unnecessary modifier 'public' on method 'isMessage': the method is declared in an interface type 105
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionForm': the method is declared in an interface type 113
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFormBean': the method is declared in an interface type 121
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionForward': the method is declared in an interface type 129
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionMapping': the method is declared in an interface type 137
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionMappingName': the method is declared in an interface type 154
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionMappingURL': the method is declared in an interface type 159
UnnecessaryModifier Unnecessary modifier 'public' on method 'getEncodeURL': the method is declared in an interface type 164
UnnecessaryModifier Unnecessary modifier 'public' on method 'getOrigRef': the method is declared in an interface type 171
UnnecessaryModifier Unnecessary modifier 'public' on method 'getBaseRef': the method is declared in an interface type 176
UnnecessaryModifier Unnecessary modifier 'public' on method 'getLink': the method is declared in an interface type 184
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMessage': the method is declared in an interface type 192
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMessage': the method is declared in an interface type 201
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAction': the method is declared in an interface type 209
org/apache/struts/config/ModuleConfig.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'setPrefix': the method is declared in an interface type 75
org/apache/struts/dispatcher/AbstractMethodResolver.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8587
org/apache/struts/dispatcher/servlet/ServletMethodResolver.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 116118
EmptyCatchBlock Avoid empty catch blocks 125127
org/apache/struts/upload/CommonsMultipartRequestHandler.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 572574
org/apache/struts/upload/FormFile.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getContentType': the method is declared in an interface type 40
UnnecessaryModifier Unnecessary modifier 'public' on method 'setContentType': the method is declared in an interface type 47
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileSize': the method is declared in an interface type 61
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFileSize': the method is declared in an interface type 73
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileLength': the method is declared in an interface type 80
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFileLength': the method is declared in an interface type 87
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileName': the method is declared in an interface type 95
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFileName': the method is declared in an interface type 102
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileData': the method is declared in an interface type 118119
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInputStream': the method is declared in an interface type 131132
UnnecessaryModifier Unnecessary modifier 'public' on method 'destroy': the method is declared in an interface type 141
org/apache/struts/upload/MultipartRequestHandler.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTRIBUTE_MAX_LENGTH_EXCEEDED': the field is declared in an interface type 4748
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTRIBUTE_MAX_BYTE_LENGTH_EXCEEDED': the field is declared in an interface type 5859
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTRIBUTE_MAX_STRING_LENGTH_EXCEEDED': the field is declared in an interface type 7071
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTRIBUTE_MAX_FILE_COUNT_EXCEEDED': the field is declared in an interface type 8182
UnnecessaryModifier Unnecessary modifier 'public' on method 'setServlet': the method is declared in an interface type 88
UnnecessaryModifier Unnecessary modifier 'public' on method 'setMapping': the method is declared in an interface type 94
UnnecessaryModifier Unnecessary modifier 'public' on method 'getServlet': the method is declared in an interface type 99
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMapping': the method is declared in an interface type 104
UnnecessaryModifier Unnecessary modifier 'public' on method 'handleRequest': the method is declared in an interface type 113114
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTextElements': the method is declared in an interface type 123
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileElements': the method is declared in an interface type 134
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAllElements': the method is declared in an interface type 142
UnnecessaryModifier Unnecessary modifier 'public' on method 'rollback': the method is declared in an interface type 154
UnnecessaryModifier Unnecessary modifier 'public' on method 'finish': the method is declared in an interface type 161
org/apache/struts/util/ImageButtonBean.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 57
org/apache/struts/util/PropertyMessageResources.java
Rule Violation Line
EmptyControlStatement Empty if statement 234255
CollapsibleIfStatements These nested if statements could be combined 418420
org/apache/struts/validator/FieldChecks.java
Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 1459
org/apache/struts/validator/validwhen/ValidWhen.java
Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 64
SimplifiedTernary Ternary operators that can be simplified with || or && 162
org/apache/struts/validator/validwhen/ValidWhenComparison.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'ValidWhenComparison(int)': enum constructors are implicitly private 122124
EmptyCatchBlock Avoid empty catch blocks 198200
org/apache/struts/validator/validwhen/ValidWhenEvaluator.java
Rule Violation Line
SimplifiedTernary Ternary operators that can be simplified with || or && 132
SimplifiedTernary Ternary operators that can be simplified with || or && 143
org/apache/struts/validator/validwhen/ValidWhenResult.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 69

Priority 4

org/apache/struts/action/Action.java
Rule Violation Line
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 363
UselessParentheses Useless parentheses. 406
UselessParentheses Useless parentheses. 486
UselessParentheses Useless parentheses. 511
UselessParentheses Useless parentheses. 535
UselessParentheses Useless parentheses. 559
org/apache/struts/action/ActionForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 85
UselessParentheses Useless parentheses. 208
UselessParentheses Useless parentheses. 210
UselessParentheses Useless parentheses. 233
org/apache/struts/action/ActionMapping.java
Rule Violation Line
UselessParentheses Useless parentheses. 85
UselessParentheses Useless parentheses. 146
org/apache/struts/action/ActionMessage.java
Rule Violation Line
UselessParentheses Useless parentheses. 153
UselessParentheses Useless parentheses. 162
UselessParentheses Useless parentheses. 173
org/apache/struts/action/ActionMessages.java
Rule Violation Line
UselessParentheses Useless parentheses. 188
UselessParentheses Useless parentheses. 232
UselessParentheses Useless parentheses. 234
UselessParentheses Useless parentheses. 293
org/apache/struts/action/ActionRedirect.java
Rule Violation Line
UselessParentheses Useless parentheses. 231
UselessParentheses Useless parentheses. 231
UselessParentheses Useless parentheses. 243244
UselessParentheses Useless parentheses. 243244
org/apache/struts/action/ActionServlet.java
Rule Violation Line
UselessParentheses Useless parentheses. 516
UselessParentheses Useless parentheses. 602
UselessParentheses Useless parentheses. 652
UselessParentheses Useless parentheses. 1546
UselessParentheses Useless parentheses. 1547
UselessParentheses Useless parentheses. 1592
UselessParentheses Useless parentheses. 1613
UselessParentheses Useless parentheses. 1967
UselessParentheses Useless parentheses. 1967
UselessParentheses Useless parentheses. 1991
UselessParentheses Useless parentheses. 1991
org/apache/struts/action/DynaActionForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 158
UselessParentheses Useless parentheses. 158
UselessParentheses Useless parentheses. 210
UselessParentheses Useless parentheses. 232
UselessParentheses Useless parentheses. 244
UselessParentheses Useless parentheses. 249
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 253
UselessParentheses Useless parentheses. 255
UselessParentheses Useless parentheses. 257
UselessParentheses Useless parentheses. 259
UselessParentheses Useless parentheses. 261
UselessParentheses Useless parentheses. 263
UselessParentheses Useless parentheses. 265
UselessParentheses Useless parentheses. 290
UselessParentheses Useless parentheses. 319
UselessParentheses Useless parentheses. 372
UselessParentheses Useless parentheses. 395
UselessParentheses Useless parentheses. 610
UselessParentheses Useless parentheses. 643
UselessParentheses Useless parentheses. 657
UselessParentheses Useless parentheses. 657
UselessParentheses Useless parentheses. 657
UselessParentheses Useless parentheses. 658
UselessParentheses Useless parentheses. 658
UselessParentheses Useless parentheses. 658
UselessParentheses Useless parentheses. 659
UselessParentheses Useless parentheses. 659
UselessParentheses Useless parentheses. 659
UselessParentheses Useless parentheses. 660
UselessParentheses Useless parentheses. 660
UselessParentheses Useless parentheses. 660
UselessParentheses Useless parentheses. 661
UselessParentheses Useless parentheses. 661
UselessParentheses Useless parentheses. 661
UselessParentheses Useless parentheses. 662
UselessParentheses Useless parentheses. 662
UselessParentheses Useless parentheses. 662
UselessParentheses Useless parentheses. 663
UselessParentheses Useless parentheses. 663
UselessParentheses Useless parentheses. 663
UselessParentheses Useless parentheses. 664
UselessParentheses Useless parentheses. 664
UselessParentheses Useless parentheses. 664
UselessParentheses Useless parentheses. 665
UselessParentheses Useless parentheses. 667
org/apache/struts/action/DynaActionFormClass.java
Rule Violation Line
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 138
UselessParentheses Useless parentheses. 183
UselessParentheses Useless parentheses. 213
UselessParentheses Useless parentheses. 245
org/apache/struts/action/RequestProcessor.java
Rule Violation Line
UselessParentheses Useless parentheses. 264
UselessParentheses Useless parentheses. 284
UselessParentheses Useless parentheses. 294
UselessParentheses Useless parentheses. 316
UselessParentheses Useless parentheses. 332
UselessParentheses Useless parentheses. 413
UselessParentheses Useless parentheses. 415
UselessParentheses Useless parentheses. 518519
UselessParentheses Useless parentheses. 545
UselessParentheses Useless parentheses. 556
UselessParentheses Useless parentheses. 579
UselessParentheses Useless parentheses. 590
UselessParentheses Useless parentheses. 649
UselessParentheses Useless parentheses. 660
UselessParentheses Useless parentheses. 683
UselessParentheses Useless parentheses. 688
UselessParentheses Useless parentheses. 690
UselessParentheses Useless parentheses. 692
UselessParentheses Useless parentheses. 742
UselessParentheses Useless parentheses. 742
UselessParentheses Useless parentheses. 743
UselessParentheses Useless parentheses. 769
UselessParentheses Useless parentheses. 769
UselessParentheses Useless parentheses. 773
UselessParentheses Useless parentheses. 811
UselessParentheses Useless parentheses. 812
UselessParentheses Useless parentheses. 830
UselessParentheses Useless parentheses. 853
UselessParentheses Useless parentheses. 853
UselessParentheses Useless parentheses. 854
UselessParentheses Useless parentheses. 863
UselessParentheses Useless parentheses. 874
UselessParentheses Useless parentheses. 901
UselessParentheses Useless parentheses. 906
UselessParentheses Useless parentheses. 916
UselessParentheses Useless parentheses. 928
UselessParentheses Useless parentheses. 931
UselessParentheses Useless parentheses. 950
UselessParentheses Useless parentheses. 966
UselessParentheses Useless parentheses. 1087
UselessParentheses Useless parentheses. 1097
org/apache/struts/chain/ComposableRequestProcessor.java
Rule Violation Line
UselessParentheses Useless parentheses. 209
UselessParentheses Useless parentheses. 209
UselessParentheses Useless parentheses. 390
UselessParentheses Useless parentheses. 395
UselessParentheses Useless parentheses. 397
UselessParentheses Useless parentheses. 399
org/apache/struts/chain/commands/AbstractAuthorizeAction.java
Rule Violation Line
UselessParentheses Useless parentheses. 103
UselessParentheses Useless parentheses. 103
org/apache/struts/chain/commands/AbstractCreateAction.java
Rule Violation Line
UselessParentheses Useless parentheses. 62
UselessParentheses Useless parentheses. 81
UselessParentheses Useless parentheses. 81
UselessParentheses Useless parentheses. 82
org/apache/struts/chain/commands/AbstractExecuteAction.java
Rule Violation Line
UselessParentheses Useless parentheses. 55
org/apache/struts/chain/commands/AbstractPopulateActionForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 67
UselessParentheses Useless parentheses. 194
UselessParentheses Useless parentheses. 195
org/apache/struts/chain/commands/AbstractSelectForward.java
Rule Violation Line
UselessParentheses Useless parentheses. 62
org/apache/struts/chain/commands/AbstractSelectInput.java
Rule Violation Line
UselessParentheses Useless parentheses. 63
org/apache/struts/chain/commands/AbstractValidateActionForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 65
UselessParentheses Useless parentheses. 65
UselessParentheses Useless parentheses. 68
UselessParentheses Useless parentheses. 121
UselessParentheses Useless parentheses. 121
org/apache/struts/chain/commands/CacheMessages.java
Rule Violation Line
UselessParentheses Useless parentheses. 47
UselessParentheses Useless parentheses. 68
org/apache/struts/chain/commands/ExceptionCatcher.java
Rule Violation Line
UselessParentheses Useless parentheses. 65
UselessParentheses Useless parentheses. 84
UselessParentheses Useless parentheses. 134
org/apache/struts/chain/commands/ExecuteDispatcher.java
Rule Violation Line
UselessParentheses Useless parentheses. 65
UselessParentheses Useless parentheses. 175
org/apache/struts/chain/commands/ExecuteForwardCommand.java
Rule Violation Line
UselessParentheses Useless parentheses. 61
org/apache/struts/chain/commands/generic/CopyFormToContext.java
Rule Violation Line
UselessParentheses Useless parentheses. 299
UselessParentheses Useless parentheses. 299
org/apache/struts/chain/commands/generic/WrappingLookupCommand.java
Rule Violation Line
UselessParentheses Useless parentheses. 262
org/apache/struts/chain/commands/servlet/AuthorizeAction.java
Rule Violation Line
UselessParentheses Useless parentheses. 51
UselessParentheses Useless parentheses. 56
org/apache/struts/chain/commands/servlet/CreateAction.java
Rule Violation Line
UselessParentheses Useless parentheses. 99
org/apache/struts/chain/commands/servlet/ExceptionHandler.java
Rule Violation Line
UselessParentheses Useless parentheses. 6364
org/apache/struts/chain/commands/servlet/ExecuteAction.java
Rule Violation Line
UselessParentheses Useless parentheses. 5859
org/apache/struts/chain/commands/servlet/PopulateActionForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 118
UselessParentheses Useless parentheses. 118
org/apache/struts/chain/commands/servlet/SelectAction.java
Rule Violation Line
UselessParentheses Useless parentheses. 49
UselessParentheses Useless parentheses. 49
UselessParentheses Useless parentheses. 54
UselessParentheses Useless parentheses. 54
UselessParentheses Useless parentheses. 58
UselessParentheses Useless parentheses. 58
UselessParentheses Useless parentheses. 62
UselessParentheses Useless parentheses. 62
UselessParentheses Useless parentheses. 85
UselessParentheses Useless parentheses. 85
UselessParentheses Useless parentheses. 90
org/apache/struts/chain/commands/servlet/SelectForward.java
Rule Violation Line
UselessParentheses Useless parentheses. 49
org/apache/struts/chain/commands/servlet/SelectInput.java
Rule Violation Line
UselessParentheses Useless parentheses. 54
org/apache/struts/chain/commands/servlet/SelectLocale.java
Rule Violation Line
UselessParentheses Useless parentheses. 55
UselessParentheses Useless parentheses. 67
org/apache/struts/chain/commands/servlet/SelectModule.java
Rule Violation Line
UselessParentheses Useless parentheses. 62
UselessParentheses Useless parentheses. 74
org/apache/struts/chain/commands/servlet/ValidateActionForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 6465
UselessParentheses Useless parentheses. 68
org/apache/struts/chain/commands/util/ClassUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 55
org/apache/struts/chain/contexts/ActionContextBase.java
Rule Violation Line
UselessParentheses Useless parentheses. 342
org/apache/struts/chain/contexts/ServletActionContext.java
Rule Violation Line
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 173
UselessParentheses Useless parentheses. 184
org/apache/struts/chain/contexts/WebActionContext.java
Rule Violation Line
UselessParentheses Useless parentheses. 164
org/apache/struts/config/ActionConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 303
UselessParentheses Useless parentheses. 303
UselessParentheses Useless parentheses. 314
UselessParentheses Useless parentheses. 337
UselessParentheses Useless parentheses. 339
UselessParentheses Useless parentheses. 365
UselessParentheses Useless parentheses. 391
UselessParentheses Useless parentheses. 422
UselessParentheses Useless parentheses. 449
UselessParentheses Useless parentheses. 476
UselessParentheses Useless parentheses. 501
UselessParentheses Useless parentheses. 525
UselessParentheses Useless parentheses. 545
UselessParentheses Useless parentheses. 569
UselessParentheses Useless parentheses. 592
UselessParentheses Useless parentheses. 608
UselessParentheses Useless parentheses. 651
UselessParentheses Useless parentheses. 659
UselessParentheses Useless parentheses. 683
UselessParentheses Useless parentheses. 695
UselessParentheses Useless parentheses. 723
UselessParentheses Useless parentheses. 735
UselessParentheses Useless parentheses. 783
UselessParentheses Useless parentheses. 799
UselessParentheses Useless parentheses. 815
UselessParentheses Useless parentheses. 831
UselessParentheses Useless parentheses. 852
UselessParentheses Useless parentheses. 866
UselessParentheses Useless parentheses. 1108
UselessParentheses Useless parentheses. 1118
UselessParentheses Useless parentheses. 1147
UselessParentheses Useless parentheses. 1155
UselessParentheses Useless parentheses. 1166
UselessParentheses Useless parentheses. 1176
UselessParentheses Useless parentheses. 1186
UselessParentheses Useless parentheses. 1342
UselessParentheses Useless parentheses. 1342
UselessParentheses Useless parentheses. 1524
org/apache/struts/config/ActionConfigMatcher.java
Rule Violation Line
UselessParentheses Useless parentheses. 80
UselessParentheses Useless parentheses. 80
UselessParentheses Useless parentheses. 81
UselessParentheses Useless parentheses. 81
UselessParentheses Useless parentheses. 106
UselessParentheses Useless parentheses. 106
UselessParentheses Useless parentheses. 161
UselessParentheses Useless parentheses. 161
org/apache/struts/config/ConfigHelper.java
Rule Violation Line
UselessParentheses Useless parentheses. 274
UselessParentheses Useless parentheses. 281
UselessParentheses Useless parentheses. 352
UselessParentheses Useless parentheses. 352
UselessParentheses Useless parentheses. 357
UselessParentheses Useless parentheses. 359
UselessParentheses Useless parentheses. 406
UselessParentheses Useless parentheses. 413
UselessParentheses Useless parentheses. 413
UselessParentheses Useless parentheses. 426
org/apache/struts/config/ControllerConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 183
UselessParentheses Useless parentheses. 195
UselessParentheses Useless parentheses. 207
UselessParentheses Useless parentheses. 219
UselessParentheses Useless parentheses. 231
UselessParentheses Useless parentheses. 239
UselessParentheses Useless parentheses. 247
UselessParentheses Useless parentheses. 259
UselessParentheses Useless parentheses. 271
UselessParentheses Useless parentheses. 283
UselessParentheses Useless parentheses. 295
UselessParentheses Useless parentheses. 307
UselessParentheses Useless parentheses. 319
UselessParentheses Useless parentheses. 331
UselessParentheses Useless parentheses. 343
UselessParentheses Useless parentheses. 351
UselessParentheses Useless parentheses. 363
UselessParentheses Useless parentheses. 433
org/apache/struts/config/ExceptionConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 88
UselessParentheses Useless parentheses. 100
UselessParentheses Useless parentheses. 116
UselessParentheses Useless parentheses. 128
UselessParentheses Useless parentheses. 140
UselessParentheses Useless parentheses. 152
UselessParentheses Useless parentheses. 164
UselessParentheses Useless parentheses. 348
UselessParentheses Useless parentheses. 348
UselessParentheses Useless parentheses. 353
UselessParentheses Useless parentheses. 356
UselessParentheses Useless parentheses. 425
org/apache/struts/config/FormBeanConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 141
UselessParentheses Useless parentheses. 154
UselessParentheses Useless parentheses. 163
UselessParentheses Useless parentheses. 409
UselessParentheses Useless parentheses. 439
UselessParentheses Useless parentheses. 477
UselessParentheses Useless parentheses. 488
UselessParentheses Useless parentheses. 569
UselessParentheses Useless parentheses. 569
UselessParentheses Useless parentheses. 624
UselessParentheses Useless parentheses. 644
UselessParentheses Useless parentheses. 646
org/apache/struts/config/FormPropertyConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 156
UselessParentheses Useless parentheses. 168
UselessParentheses Useless parentheses. 180
UselessParentheses Useless parentheses. 192
UselessParentheses Useless parentheses. 208
UselessParentheses Useless parentheses. 272
UselessParentheses Useless parentheses. 274
UselessParentheses Useless parentheses. 360
UselessParentheses Useless parentheses. 424
org/apache/struts/config/ForwardConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 169
UselessParentheses Useless parentheses. 185
UselessParentheses Useless parentheses. 197
UselessParentheses Useless parentheses. 209
UselessParentheses Useless parentheses. 221
UselessParentheses Useless parentheses. 233
UselessParentheses Useless parentheses. 245
UselessParentheses Useless parentheses. 429
UselessParentheses Useless parentheses. 429
UselessParentheses Useless parentheses. 434
UselessParentheses Useless parentheses. 437
UselessParentheses Useless parentheses. 499
org/apache/struts/config/MessageResourcesConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 70
UselessParentheses Useless parentheses. 82
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 126
UselessParentheses Useless parentheses. 155
org/apache/struts/config/ModuleConfigFactory.java
Rule Violation Line
UselessParentheses Useless parentheses. 74
org/apache/struts/config/PlugInConfig.java
Rule Violation Line
UselessParentheses Useless parentheses. 66
org/apache/struts/config/impl/ModuleConfigImpl.java
Rule Violation Line
UselessParentheses Useless parentheses. 199
UselessParentheses Useless parentheses. 210
UselessParentheses Useless parentheses. 230
UselessParentheses Useless parentheses. 300
UselessParentheses Useless parentheses. 438
UselessParentheses Useless parentheses. 438
UselessParentheses Useless parentheses. 468
UselessParentheses Useless parentheses. 478
UselessParentheses Useless parentheses. 509
UselessParentheses Useless parentheses. 520
UselessParentheses Useless parentheses. 530
UselessParentheses Useless parentheses. 540
UselessParentheses Useless parentheses. 550
UselessParentheses Useless parentheses. 560
UselessParentheses Useless parentheses. 570
UselessParentheses Useless parentheses. 580
UselessParentheses Useless parentheses. 591
UselessParentheses Useless parentheses. 601
org/apache/struts/dispatcher/AbstractDispatcher.java
Rule Violation Line
UselessParentheses Useless parentheses. 118
UselessParentheses Useless parentheses. 280
org/apache/struts/dispatcher/AbstractParameterDispatcher.java
Rule Violation Line
UselessParentheses Useless parentheses. 77
UselessParentheses Useless parentheses. 77
org/apache/struts/dispatcher/servlet/ServletEventMappingDispatcher.java
Rule Violation Line
UselessParentheses Useless parentheses. 73
UselessParentheses Useless parentheses. 73
org/apache/struts/upload/CommonsMultipartRequestHandler.java
Rule Violation Line
UselessParentheses Useless parentheses. 815
UselessParentheses Useless parentheses. 815
org/apache/struts/upload/MultipartRequestWrapper.java
Rule Violation Line
UselessParentheses Useless parentheses. 80
UselessParentheses Useless parentheses. 80
org/apache/struts/util/ImageButtonBean.java
Rule Violation Line
UselessParentheses Useless parentheses. 72
UselessParentheses Useless parentheses. 80
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 108
org/apache/struts/util/LabelValueBean.java
Rule Violation Line
UselessParentheses Useless parentheses. 124
UselessParentheses Useless parentheses. 144
org/apache/struts/util/MessageResources.java
Rule Violation Line
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 146
UselessParentheses Useless parentheses. 156
UselessParentheses Useless parentheses. 303
UselessParentheses Useless parentheses. 423
UselessParentheses Useless parentheses. 423
UselessParentheses Useless parentheses. 462
UselessParentheses Useless parentheses. 474
org/apache/struts/util/MessageResourcesFactory.java
Rule Violation Line
UselessParentheses Useless parentheses. 111
UselessParentheses Useless parentheses. 143
UselessParentheses Useless parentheses. 176
UselessParentheses Useless parentheses. 180
org/apache/struts/util/ModuleUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 91
UselessParentheses Useless parentheses. 180
org/apache/struts/util/PropertyMessageResources.java
Rule Violation Line
UselessParentheses Useless parentheses. 193
UselessParentheses Useless parentheses. 268
UselessParentheses Useless parentheses. 270
UselessParentheses Useless parentheses. 301
UselessParentheses Useless parentheses. 423
org/apache/struts/util/RequestUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 132
UselessParentheses Useless parentheses. 212
UselessParentheses Useless parentheses. 222
UselessParentheses Useless parentheses. 229
UselessParentheses Useless parentheses. 230
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 270
UselessParentheses Useless parentheses. 293
UselessParentheses Useless parentheses. 404
UselessParentheses Useless parentheses. 405
UselessParentheses Useless parentheses. 406
UselessParentheses Useless parentheses. 437
UselessParentheses Useless parentheses. 438
UselessParentheses Useless parentheses. 525
UselessParentheses Useless parentheses. 526
UselessParentheses Useless parentheses. 716
UselessParentheses Useless parentheses. 723
UselessParentheses Useless parentheses. 730
UselessParentheses Useless parentheses. 954
UselessParentheses Useless parentheses. 969
UselessParentheses Useless parentheses. 986
UselessParentheses Useless parentheses. 1048
UselessParentheses Useless parentheses. 1048
UselessParentheses Useless parentheses. 1049
UselessParentheses Useless parentheses. 1049
UselessParentheses Useless parentheses. 1175
UselessParentheses Useless parentheses. 1186
UselessParentheses Useless parentheses. 1198
org/apache/struts/util/ServletContextWriter.java
Rule Violation Line
UselessParentheses Useless parentheses. 80
org/apache/struts/util/WildcardHelper.java
Rule Violation Line
UselessParentheses Useless parentheses. 215
UselessParentheses Useless parentheses. 223
UselessParentheses Useless parentheses. 230
UselessParentheses Useless parentheses. 237
UselessParentheses Useless parentheses. 247
UselessParentheses Useless parentheses. 255
UselessParentheses Useless parentheses. 276
UselessParentheses Useless parentheses. 289
UselessParentheses Useless parentheses. 325
UselessParentheses Useless parentheses. 329
UselessParentheses Useless parentheses. 333
UselessParentheses Useless parentheses. 340
UselessParentheses Useless parentheses. 348
UselessParentheses Useless parentheses. 362
UselessParentheses Useless parentheses. 389
UselessParentheses Useless parentheses. 393
UselessParentheses Useless parentheses. 397
UselessParentheses Useless parentheses. 414
UselessParentheses Useless parentheses. 428
UselessParentheses Useless parentheses. 448
UselessParentheses Useless parentheses. 453
UselessParentheses Useless parentheses. 457
org/apache/struts/validator/BeanValidatorForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 183
org/apache/struts/validator/DynaValidatorForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 238239
org/apache/struts/validator/FieldChecks.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.commons.validator.Validator.BEAN_PARAM' due to existing import 'org.apache.commons.validator.Validator' 166
UselessParentheses Useless parentheses. 205
UselessParentheses Useless parentheses. 205
UselessParentheses Useless parentheses. 215
UselessParentheses Useless parentheses. 215
UselessParentheses Useless parentheses. 223
UselessParentheses Useless parentheses. 223
UselessParentheses Useless parentheses. 1395
UselessParentheses Useless parentheses. 1395
org/apache/struts/validator/Resources.java
Rule Violation Line
UselessParentheses Useless parentheses. 210
UselessParentheses Useless parentheses. 289
UselessParentheses Useless parentheses. 309
UselessParentheses Useless parentheses. 309
UselessParentheses Useless parentheses. 368
UselessParentheses Useless parentheses. 382
UselessParentheses Useless parentheses. 382
UselessParentheses Useless parentheses. 457
UselessParentheses Useless parentheses. 457
org/apache/struts/validator/ValidatorForm.java
Rule Violation Line
UselessParentheses Useless parentheses. 212213
org/apache/struts/validator/ValidatorPlugIn.java
Rule Violation Line
UselessParentheses Useless parentheses. 178
UselessParentheses Useless parentheses. 207
UselessParentheses Useless parentheses. 207
org/apache/struts/validator/validwhen/ValidWhen.java
Rule Violation Line
UselessParentheses Useless parentheses. 96
UselessParentheses Useless parentheses. 96

Files

org/apache/struts/action/Action.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 363
UselessParentheses Useless parentheses. 4 406
UselessParentheses Useless parentheses. 4 486
UselessParentheses Useless parentheses. 4 511
UselessParentheses Useless parentheses. 4 535
UselessParentheses Useless parentheses. 4 559

org/apache/struts/action/ActionForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 85
UnnecessarySemicolon Unnecessary semicolon 3 156
UselessParentheses Useless parentheses. 4 208
UselessParentheses Useless parentheses. 4 210
UselessParentheses Useless parentheses. 4 233

org/apache/struts/action/ActionMapping.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 85
UselessParentheses Useless parentheses. 4 146

org/apache/struts/action/ActionMessage.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 153
UselessParentheses Useless parentheses. 4 162
UselessParentheses Useless parentheses. 4 173

org/apache/struts/action/ActionMessages.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 188
UselessParentheses Useless parentheses. 4 232
UselessParentheses Useless parentheses. 4 234
UselessParentheses Useless parentheses. 4 293

org/apache/struts/action/ActionRedirect.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 231
UselessParentheses Useless parentheses. 4 231
UselessParentheses Useless parentheses. 4 243244
UselessParentheses Useless parentheses. 4 243244

org/apache/struts/action/ActionServlet.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 334
UselessParentheses Useless parentheses. 4 516
UselessParentheses Useless parentheses. 4 602
UselessParentheses Useless parentheses. 4 652
UnnecessarySemicolon Unnecessary semicolon 3 880
CollapsibleIfStatements These nested if statements could be combined 3 10261052
CollapsibleIfStatements These nested if statements could be combined 3 11721198
CollapsibleIfStatements These nested if statements could be combined 3 13181344
CollapsibleIfStatements These nested if statements could be combined 3 14931527
UselessParentheses Useless parentheses. 4 1546
UselessParentheses Useless parentheses. 4 1547
UselessParentheses Useless parentheses. 4 1592
UselessParentheses Useless parentheses. 4 1613
UselessParentheses Useless parentheses. 4 1967
UselessParentheses Useless parentheses. 4 1967
UselessParentheses Useless parentheses. 4 1991
UselessParentheses Useless parentheses. 4 1991

org/apache/struts/action/DynaActionForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 158
UselessParentheses Useless parentheses. 4 158
UselessParentheses Useless parentheses. 4 210
UselessParentheses Useless parentheses. 4 232
UselessParentheses Useless parentheses. 4 244
UselessParentheses Useless parentheses. 4 249
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 253
UselessParentheses Useless parentheses. 4 255
UselessParentheses Useless parentheses. 4 257
UselessParentheses Useless parentheses. 4 259
UselessParentheses Useless parentheses. 4 261
UselessParentheses Useless parentheses. 4 263
UselessParentheses Useless parentheses. 4 265
UselessParentheses Useless parentheses. 4 290
UselessParentheses Useless parentheses. 4 319
UselessParentheses Useless parentheses. 4 372
UselessParentheses Useless parentheses. 4 395
UselessParentheses Useless parentheses. 4 610
UselessParentheses Useless parentheses. 4 643
UselessParentheses Useless parentheses. 4 657
UselessParentheses Useless parentheses. 4 657
UselessParentheses Useless parentheses. 4 657
UselessParentheses Useless parentheses. 4 658
UselessParentheses Useless parentheses. 4 658
UselessParentheses Useless parentheses. 4 658
UselessParentheses Useless parentheses. 4 659
UselessParentheses Useless parentheses. 4 659
UselessParentheses Useless parentheses. 4 659
UselessParentheses Useless parentheses. 4 660
UselessParentheses Useless parentheses. 4 660
UselessParentheses Useless parentheses. 4 660
UselessParentheses Useless parentheses. 4 661
UselessParentheses Useless parentheses. 4 661
UselessParentheses Useless parentheses. 4 661
UselessParentheses Useless parentheses. 4 662
UselessParentheses Useless parentheses. 4 662
UselessParentheses Useless parentheses. 4 662
UselessParentheses Useless parentheses. 4 663
UselessParentheses Useless parentheses. 4 663
UselessParentheses Useless parentheses. 4 663
UselessParentheses Useless parentheses. 4 664
UselessParentheses Useless parentheses. 4 664
UselessParentheses Useless parentheses. 4 664
UselessParentheses Useless parentheses. 4 665
UselessParentheses Useless parentheses. 4 667

org/apache/struts/action/DynaActionFormClass.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 138
UselessParentheses Useless parentheses. 4 183
UselessParentheses Useless parentheses. 4 213
UselessParentheses Useless parentheses. 4 245

org/apache/struts/action/RequestProcessor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 264
UselessParentheses Useless parentheses. 4 284
UselessParentheses Useless parentheses. 4 294
UselessParentheses Useless parentheses. 4 316
UselessParentheses Useless parentheses. 4 332
UselessParentheses Useless parentheses. 4 413
UselessParentheses Useless parentheses. 4 415
CollapsibleIfStatements These nested if statements could be combined 3 443445
CollapsibleIfStatements These nested if statements could be combined 3 452454
UselessParentheses Useless parentheses. 4 518519
UselessParentheses Useless parentheses. 4 545
UselessParentheses Useless parentheses. 4 556
UselessParentheses Useless parentheses. 4 579
UselessParentheses Useless parentheses. 4 590
UselessParentheses Useless parentheses. 4 649
UselessParentheses Useless parentheses. 4 660
UselessParentheses Useless parentheses. 4 683
UselessParentheses Useless parentheses. 4 688
UselessParentheses Useless parentheses. 4 690
UselessParentheses Useless parentheses. 4 692
UselessParentheses Useless parentheses. 4 742
UselessParentheses Useless parentheses. 4 742
UselessParentheses Useless parentheses. 4 743
UselessParentheses Useless parentheses. 4 769
UselessParentheses Useless parentheses. 4 769
UselessParentheses Useless parentheses. 4 773
UselessParentheses Useless parentheses. 4 811
UselessParentheses Useless parentheses. 4 812
UselessParentheses Useless parentheses. 4 830
UselessParentheses Useless parentheses. 4 853
UselessParentheses Useless parentheses. 4 853
UselessParentheses Useless parentheses. 4 854
UselessParentheses Useless parentheses. 4 863
UselessParentheses Useless parentheses. 4 874
UselessParentheses Useless parentheses. 4 901
UselessParentheses Useless parentheses. 4 906
UselessParentheses Useless parentheses. 4 916
UselessParentheses Useless parentheses. 4 928
UselessParentheses Useless parentheses. 4 931
UselessParentheses Useless parentheses. 4 950
UselessParentheses Useless parentheses. 4 966
UselessParentheses Useless parentheses. 4 1087
UselessParentheses Useless parentheses. 4 1097

org/apache/struts/chain/ComposableRequestProcessor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 209
UselessParentheses Useless parentheses. 4 209
UselessParentheses Useless parentheses. 4 390
UselessParentheses Useless parentheses. 4 395
UselessParentheses Useless parentheses. 4 397
UselessParentheses Useless parentheses. 4 399

org/apache/struts/chain/commands/AbstractAuthorizeAction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 103
UselessParentheses Useless parentheses. 4 103

org/apache/struts/chain/commands/AbstractCreateAction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 62
UselessParentheses Useless parentheses. 4 81
UselessParentheses Useless parentheses. 4 81
UselessParentheses Useless parentheses. 4 82

org/apache/struts/chain/commands/AbstractExecuteAction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 55

org/apache/struts/chain/commands/AbstractPopulateActionForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 67
UselessParentheses Useless parentheses. 4 194
UselessParentheses Useless parentheses. 4 195

org/apache/struts/chain/commands/AbstractSelectForward.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 62

org/apache/struts/chain/commands/AbstractSelectInput.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 63

org/apache/struts/chain/commands/AbstractValidateActionForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 65
UselessParentheses Useless parentheses. 4 65
UselessParentheses Useless parentheses. 4 68
UselessParentheses Useless parentheses. 4 121
UselessParentheses Useless parentheses. 4 121

org/apache/struts/chain/commands/CacheMessages.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 47
UselessParentheses Useless parentheses. 4 68

org/apache/struts/chain/commands/ExceptionCatcher.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 65
UselessParentheses Useless parentheses. 4 84
UselessParentheses Useless parentheses. 4 134

org/apache/struts/chain/commands/ExecuteDispatcher.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 65
UselessParentheses Useless parentheses. 4 175

org/apache/struts/chain/commands/ExecuteForwardCommand.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 61

org/apache/struts/chain/commands/generic/CopyFormToContext.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 299
UselessParentheses Useless parentheses. 4 299

org/apache/struts/chain/commands/generic/WrappingLookupCommand.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 262

org/apache/struts/chain/commands/servlet/AuthorizeAction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 51
UselessParentheses Useless parentheses. 4 56

org/apache/struts/chain/commands/servlet/CreateAction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 99

org/apache/struts/chain/commands/servlet/ExceptionHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 6364

org/apache/struts/chain/commands/servlet/ExecuteAction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 5859

org/apache/struts/chain/commands/servlet/PopulateActionForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 118
UselessParentheses Useless parentheses. 4 118

org/apache/struts/chain/commands/servlet/SelectAction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 49
UselessParentheses Useless parentheses. 4 49
UselessParentheses Useless parentheses. 4 54
UselessParentheses Useless parentheses. 4 54
UselessParentheses Useless parentheses. 4 58
UselessParentheses Useless parentheses. 4 58
UselessParentheses Useless parentheses. 4 62
UselessParentheses Useless parentheses. 4 62
UselessParentheses Useless parentheses. 4 85
UselessParentheses Useless parentheses. 4 85
UselessParentheses Useless parentheses. 4 90

org/apache/struts/chain/commands/servlet/SelectForward.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 49

org/apache/struts/chain/commands/servlet/SelectInput.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 54

org/apache/struts/chain/commands/servlet/SelectLocale.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 55
UselessParentheses Useless parentheses. 4 67

org/apache/struts/chain/commands/servlet/SelectModule.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 62
UselessParentheses Useless parentheses. 4 74

org/apache/struts/chain/commands/servlet/ValidateActionForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 6465
UselessParentheses Useless parentheses. 4 68
CollapsibleIfStatements These nested if statements could be combined 3 6973

org/apache/struts/chain/commands/util/ClassUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 55

org/apache/struts/chain/contexts/ActionContext.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'APPLICATION_SCOPE': the field is declared in an interface type 3 41
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'SESSION_SCOPE': the field is declared in an interface type 3 42
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'REQUEST_SCOPE': the field is declared in an interface type 3 43

org/apache/struts/chain/contexts/ActionContextBase.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 342

org/apache/struts/chain/contexts/ServletActionContext.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 173
UselessParentheses Useless parentheses. 4 184

org/apache/struts/chain/contexts/WebActionContext.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 5355
UselessParentheses Useless parentheses. 4 164

org/apache/struts/config/ActionConfig.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 303
UselessParentheses Useless parentheses. 4 303
UselessParentheses Useless parentheses. 4 314
UselessParentheses Useless parentheses. 4 337
UselessParentheses Useless parentheses. 4 339
UselessParentheses Useless parentheses. 4 365
UselessParentheses Useless parentheses. 4 391
UselessParentheses Useless parentheses. 4 422
UselessParentheses Useless parentheses. 4 449
UselessParentheses Useless parentheses. 4 476
UselessParentheses Useless parentheses. 4 501
UselessParentheses Useless parentheses. 4 525
UselessParentheses Useless parentheses. 4 545
UselessParentheses Useless parentheses. 4 569
UselessParentheses Useless parentheses. 4 592
UselessParentheses Useless parentheses. 4 608
UselessParentheses Useless parentheses. 4 651
UselessParentheses Useless parentheses. 4 659
UselessParentheses Useless parentheses. 4 683
UselessParentheses Useless parentheses. 4 695
UselessParentheses Useless parentheses. 4 723
UselessParentheses Useless parentheses. 4 735
UselessParentheses Useless parentheses. 4 783
UselessParentheses Useless parentheses. 4 799
UselessParentheses Useless parentheses. 4 815
UselessParentheses Useless parentheses. 4 831
UselessParentheses Useless parentheses. 4 852
UselessParentheses Useless parentheses. 4 866
UselessParentheses Useless parentheses. 4 1108
UselessParentheses Useless parentheses. 4 1118
UselessParentheses Useless parentheses. 4 1147
UselessParentheses Useless parentheses. 4 1155
UselessParentheses Useless parentheses. 4 1166
UselessParentheses Useless parentheses. 4 1176
UselessParentheses Useless parentheses. 4 1186
UselessParentheses Useless parentheses. 4 1342
UselessParentheses Useless parentheses. 4 1342
UselessParentheses Useless parentheses. 4 1524

org/apache/struts/config/ActionConfigMatcher.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 80
UselessParentheses Useless parentheses. 4 80
UselessParentheses Useless parentheses. 4 81
UselessParentheses Useless parentheses. 4 81
UselessParentheses Useless parentheses. 4 106
UselessParentheses Useless parentheses. 4 106
UselessParentheses Useless parentheses. 4 161
UselessParentheses Useless parentheses. 4 161

org/apache/struts/config/ConfigHelper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 274
UselessParentheses Useless parentheses. 4 281
UselessParentheses Useless parentheses. 4 352
UselessParentheses Useless parentheses. 4 352
UselessParentheses Useless parentheses. 4 357
UselessParentheses Useless parentheses. 4 359
UselessParentheses Useless parentheses. 4 406
UselessParentheses Useless parentheses. 4 413
UselessParentheses Useless parentheses. 4 413
UselessParentheses Useless parentheses. 4 426

org/apache/struts/config/ConfigHelperInterface.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionMessages': the method is declared in an interface type 3 56
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMessageResources': the method is declared in an interface type 3 61
UnnecessaryModifier Unnecessary modifier 'public' on method 'getServletMapping': the method is declared in an interface type 3 68
UnnecessaryModifier Unnecessary modifier 'public' on method 'getToken': the method is declared in an interface type 3 75
UnnecessaryModifier Unnecessary modifier 'public' on method 'getException': the method is declared in an interface type 3 84
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMultipartRequestWrapper': the method is declared in an interface type 3 89
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMapping': the method is declared in an interface type 3 95
UnnecessaryModifier Unnecessary modifier 'public' on method 'isMessage': the method is declared in an interface type 3 105
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionForm': the method is declared in an interface type 3 113
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFormBean': the method is declared in an interface type 3 121
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionForward': the method is declared in an interface type 3 129
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionMapping': the method is declared in an interface type 3 137
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionMappingName': the method is declared in an interface type 3 154
UnnecessaryModifier Unnecessary modifier 'public' on method 'getActionMappingURL': the method is declared in an interface type 3 159
UnnecessaryModifier Unnecessary modifier 'public' on method 'getEncodeURL': the method is declared in an interface type 3 164
UnnecessaryModifier Unnecessary modifier 'public' on method 'getOrigRef': the method is declared in an interface type 3 171
UnnecessaryModifier Unnecessary modifier 'public' on method 'getBaseRef': the method is declared in an interface type 3 176
UnnecessaryModifier Unnecessary modifier 'public' on method 'getLink': the method is declared in an interface type 3 184
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMessage': the method is declared in an interface type 3 192
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMessage': the method is declared in an interface type 3 201
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAction': the method is declared in an interface type 3 209

org/apache/struts/config/ControllerConfig.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 183
UselessParentheses Useless parentheses. 4 195
UselessParentheses Useless parentheses. 4 207
UselessParentheses Useless parentheses. 4 219
UselessParentheses Useless parentheses. 4 231
UselessParentheses Useless parentheses. 4 239
UselessParentheses Useless parentheses. 4 247
UselessParentheses Useless parentheses. 4 259
UselessParentheses Useless parentheses. 4 271
UselessParentheses Useless parentheses. 4 283
UselessParentheses Useless parentheses. 4 295
UselessParentheses Useless parentheses. 4 307
UselessParentheses Useless parentheses. 4 319
UselessParentheses Useless parentheses. 4 331
UselessParentheses Useless parentheses. 4 343
UselessParentheses Useless parentheses. 4 351
UselessParentheses Useless parentheses. 4 363
UselessParentheses Useless parentheses. 4 433

org/apache/struts/config/ExceptionConfig.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 88
UselessParentheses Useless parentheses. 4 100
UselessParentheses Useless parentheses. 4 116
UselessParentheses Useless parentheses. 4 128
UselessParentheses Useless parentheses. 4 140
UselessParentheses Useless parentheses. 4 152
UselessParentheses Useless parentheses. 4 164
UselessParentheses Useless parentheses. 4 348
UselessParentheses Useless parentheses. 4 348
UselessParentheses Useless parentheses. 4 353
UselessParentheses Useless parentheses. 4 356
UselessParentheses Useless parentheses. 4 425

org/apache/struts/config/FormBeanConfig.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 141
UselessParentheses Useless parentheses. 4 154
UselessParentheses Useless parentheses. 4 163
UselessParentheses Useless parentheses. 4 409
UselessParentheses Useless parentheses. 4 439
UselessParentheses Useless parentheses. 4 477
UselessParentheses Useless parentheses. 4 488
UselessParentheses Useless parentheses. 4 569
UselessParentheses Useless parentheses. 4 569
UselessParentheses Useless parentheses. 4 624
UselessParentheses Useless parentheses. 4 644
UselessParentheses Useless parentheses. 4 646

org/apache/struts/config/FormPropertyConfig.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 156
UselessParentheses Useless parentheses. 4 168
UselessParentheses Useless parentheses. 4 180
UselessParentheses Useless parentheses. 4 192
UselessParentheses Useless parentheses. 4 208
UselessParentheses Useless parentheses. 4 272
UselessParentheses Useless parentheses. 4 274
UselessParentheses Useless parentheses. 4 360
UselessParentheses Useless parentheses. 4 424

org/apache/struts/config/ForwardConfig.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 169
UselessParentheses Useless parentheses. 4 185
UselessParentheses Useless parentheses. 4 197
UselessParentheses Useless parentheses. 4 209
UselessParentheses Useless parentheses. 4 221
UselessParentheses Useless parentheses. 4 233
UselessParentheses Useless parentheses. 4 245
UselessParentheses Useless parentheses. 4 429
UselessParentheses Useless parentheses. 4 429
UselessParentheses Useless parentheses. 4 434
UselessParentheses Useless parentheses. 4 437
UselessParentheses Useless parentheses. 4 499

org/apache/struts/config/MessageResourcesConfig.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 70
UselessParentheses Useless parentheses. 4 82
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 126
UselessParentheses Useless parentheses. 4 155

org/apache/struts/config/ModuleConfig.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'setPrefix': the method is declared in an interface type 3 75

org/apache/struts/config/ModuleConfigFactory.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 74

org/apache/struts/config/PlugInConfig.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 66

org/apache/struts/config/impl/ModuleConfigImpl.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 199
UselessParentheses Useless parentheses. 4 210
UselessParentheses Useless parentheses. 4 230
UselessParentheses Useless parentheses. 4 300
UselessParentheses Useless parentheses. 4 438
UselessParentheses Useless parentheses. 4 438
UselessParentheses Useless parentheses. 4 468
UselessParentheses Useless parentheses. 4 478
UselessParentheses Useless parentheses. 4 509
UselessParentheses Useless parentheses. 4 520
UselessParentheses Useless parentheses. 4 530
UselessParentheses Useless parentheses. 4 540
UselessParentheses Useless parentheses. 4 550
UselessParentheses Useless parentheses. 4 560
UselessParentheses Useless parentheses. 4 570
UselessParentheses Useless parentheses. 4 580
UselessParentheses Useless parentheses. 4 591
UselessParentheses Useless parentheses. 4 601

org/apache/struts/dispatcher/AbstractDispatcher.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 118
UselessParentheses Useless parentheses. 4 280

org/apache/struts/dispatcher/AbstractMethodResolver.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8587

org/apache/struts/dispatcher/AbstractParameterDispatcher.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 77
UselessParentheses Useless parentheses. 4 77

org/apache/struts/dispatcher/servlet/ServletEventMappingDispatcher.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 73
UselessParentheses Useless parentheses. 4 73

org/apache/struts/dispatcher/servlet/ServletMethodResolver.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 116118
EmptyCatchBlock Avoid empty catch blocks 3 125127

org/apache/struts/upload/CommonsMultipartRequestHandler.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 572574
UselessParentheses Useless parentheses. 4 815
UselessParentheses Useless parentheses. 4 815

org/apache/struts/upload/FormFile.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getContentType': the method is declared in an interface type 3 40
UnnecessaryModifier Unnecessary modifier 'public' on method 'setContentType': the method is declared in an interface type 3 47
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileSize': the method is declared in an interface type 3 61
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFileSize': the method is declared in an interface type 3 73
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileLength': the method is declared in an interface type 3 80
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFileLength': the method is declared in an interface type 3 87
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileName': the method is declared in an interface type 3 95
UnnecessaryModifier Unnecessary modifier 'public' on method 'setFileName': the method is declared in an interface type 3 102
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileData': the method is declared in an interface type 3 118119
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInputStream': the method is declared in an interface type 3 131132
UnnecessaryModifier Unnecessary modifier 'public' on method 'destroy': the method is declared in an interface type 3 141

org/apache/struts/upload/MultipartRequestHandler.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTRIBUTE_MAX_LENGTH_EXCEEDED': the field is declared in an interface type 3 4748
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTRIBUTE_MAX_BYTE_LENGTH_EXCEEDED': the field is declared in an interface type 3 5859
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTRIBUTE_MAX_STRING_LENGTH_EXCEEDED': the field is declared in an interface type 3 7071
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'ATTRIBUTE_MAX_FILE_COUNT_EXCEEDED': the field is declared in an interface type 3 8182
UnnecessaryModifier Unnecessary modifier 'public' on method 'setServlet': the method is declared in an interface type 3 88
UnnecessaryModifier Unnecessary modifier 'public' on method 'setMapping': the method is declared in an interface type 3 94
UnnecessaryModifier Unnecessary modifier 'public' on method 'getServlet': the method is declared in an interface type 3 99
UnnecessaryModifier Unnecessary modifier 'public' on method 'getMapping': the method is declared in an interface type 3 104
UnnecessaryModifier Unnecessary modifier 'public' on method 'handleRequest': the method is declared in an interface type 3 113114
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTextElements': the method is declared in an interface type 3 123
UnnecessaryModifier Unnecessary modifier 'public' on method 'getFileElements': the method is declared in an interface type 3 134
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAllElements': the method is declared in an interface type 3 142
UnnecessaryModifier Unnecessary modifier 'public' on method 'rollback': the method is declared in an interface type 3 154
UnnecessaryModifier Unnecessary modifier 'public' on method 'finish': the method is declared in an interface type 3 161

org/apache/struts/upload/MultipartRequestWrapper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 80
UselessParentheses Useless parentheses. 4 80

org/apache/struts/util/ImageButtonBean.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 57
UselessParentheses Useless parentheses. 4 72
UselessParentheses Useless parentheses. 4 80
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 108

org/apache/struts/util/LabelValueBean.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 124
UselessParentheses Useless parentheses. 4 144

org/apache/struts/util/MessageResources.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 146
UselessParentheses Useless parentheses. 4 156
UselessParentheses Useless parentheses. 4 303
UselessParentheses Useless parentheses. 4 423
UselessParentheses Useless parentheses. 4 423
UselessParentheses Useless parentheses. 4 462
UselessParentheses Useless parentheses. 4 474

org/apache/struts/util/MessageResourcesFactory.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 111
UselessParentheses Useless parentheses. 4 143
UselessParentheses Useless parentheses. 4 176
UselessParentheses Useless parentheses. 4 180

org/apache/struts/util/ModuleUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 91
UselessParentheses Useless parentheses. 4 180

org/apache/struts/util/PropertyMessageResources.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 193
EmptyControlStatement Empty if statement 3 234255
UselessParentheses Useless parentheses. 4 268
UselessParentheses Useless parentheses. 4 270
UselessParentheses Useless parentheses. 4 301
CollapsibleIfStatements These nested if statements could be combined 3 418420
UselessParentheses Useless parentheses. 4 423

org/apache/struts/util/RequestUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 132
UselessParentheses Useless parentheses. 4 212
UselessParentheses Useless parentheses. 4 222
UselessParentheses Useless parentheses. 4 229
UselessParentheses Useless parentheses. 4 230
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 270
UselessParentheses Useless parentheses. 4 293
UselessParentheses Useless parentheses. 4 404
UselessParentheses Useless parentheses. 4 405
UselessParentheses Useless parentheses. 4 406
UselessParentheses Useless parentheses. 4 437
UselessParentheses Useless parentheses. 4 438
UselessParentheses Useless parentheses. 4 525
UselessParentheses Useless parentheses. 4 526
UselessParentheses Useless parentheses. 4 716
UselessParentheses Useless parentheses. 4 723
UselessParentheses Useless parentheses. 4 730
UselessParentheses Useless parentheses. 4 954
UselessParentheses Useless parentheses. 4 969
UselessParentheses Useless parentheses. 4 986
UselessParentheses Useless parentheses. 4 1048
UselessParentheses Useless parentheses. 4 1048
UselessParentheses Useless parentheses. 4 1049
UselessParentheses Useless parentheses. 4 1049
UselessParentheses Useless parentheses. 4 1175
UselessParentheses Useless parentheses. 4 1186
UselessParentheses Useless parentheses. 4 1198

org/apache/struts/util/ServletContextWriter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 80

org/apache/struts/util/WildcardHelper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 215
UselessParentheses Useless parentheses. 4 223
UselessParentheses Useless parentheses. 4 230
UselessParentheses Useless parentheses. 4 237
UselessParentheses Useless parentheses. 4 247
UselessParentheses Useless parentheses. 4 255
UselessParentheses Useless parentheses. 4 276
UselessParentheses Useless parentheses. 4 289
UselessParentheses Useless parentheses. 4 325
UselessParentheses Useless parentheses. 4 329
UselessParentheses Useless parentheses. 4 333
UselessParentheses Useless parentheses. 4 340
UselessParentheses Useless parentheses. 4 348
UselessParentheses Useless parentheses. 4 362
UselessParentheses Useless parentheses. 4 389
UselessParentheses Useless parentheses. 4 393
UselessParentheses Useless parentheses. 4 397
UselessParentheses Useless parentheses. 4 414
UselessParentheses Useless parentheses. 4 428
UselessParentheses Useless parentheses. 4 448
UselessParentheses Useless parentheses. 4 453
UselessParentheses Useless parentheses. 4 457

org/apache/struts/validator/BeanValidatorForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 183

org/apache/struts/validator/DynaValidatorForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 238239

org/apache/struts/validator/FieldChecks.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.commons.validator.Validator.BEAN_PARAM' due to existing import 'org.apache.commons.validator.Validator' 4 166
UselessParentheses Useless parentheses. 4 205
UselessParentheses Useless parentheses. 4 205
UselessParentheses Useless parentheses. 4 215
UselessParentheses Useless parentheses. 4 215
UselessParentheses Useless parentheses. 4 223
UselessParentheses Useless parentheses. 4 223
UselessParentheses Useless parentheses. 4 1395
UselessParentheses Useless parentheses. 4 1395
SimplifiedTernary Ternary operators that can be simplified with || or && 3 1459

org/apache/struts/validator/Resources.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 210
UselessParentheses Useless parentheses. 4 289
UselessParentheses Useless parentheses. 4 309
UselessParentheses Useless parentheses. 4 309
UselessParentheses Useless parentheses. 4 368
UselessParentheses Useless parentheses. 4 382
UselessParentheses Useless parentheses. 4 382
UselessParentheses Useless parentheses. 4 457
UselessParentheses Useless parentheses. 4 457

org/apache/struts/validator/ValidatorForm.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 212213

org/apache/struts/validator/ValidatorPlugIn.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 178
UselessParentheses Useless parentheses. 4 207
UselessParentheses Useless parentheses. 4 207

org/apache/struts/validator/validwhen/ValidWhen.java

Rule Violation Priority Line
SimplifiedTernary Ternary operators that can be simplified with || or && 3 64
UselessParentheses Useless parentheses. 4 96
UselessParentheses Useless parentheses. 4 96
SimplifiedTernary Ternary operators that can be simplified with || or && 3 162

org/apache/struts/validator/validwhen/ValidWhenComparison.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'ValidWhenComparison(int)': enum constructors are implicitly private 3 122124
EmptyCatchBlock Avoid empty catch blocks 3 198200

org/apache/struts/validator/validwhen/ValidWhenEvaluator.java

Rule Violation Priority Line
SimplifiedTernary Ternary operators that can be simplified with || or && 3 132
SimplifiedTernary Ternary operators that can be simplified with || or && 3 143

org/apache/struts/validator/validwhen/ValidWhenResult.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 69