PMD Results

The following document contains the results of PMD 5.0.5.

Files

Gboat2 Struts OSGi Admin Bundle - gboat2/admin/osgi/action/BundlesAction.java

Violation Line
An empty statement (semicolon) not part of a loop 415
Useless parentheses. 537
Useless parentheses. 537
Avoid unused method parameters such as 'bundleSymbolicName'. 731

Gboat2 Struts OSGi Admin Bundle - gboat2/admin/osgi/action/ShellAction.java

Violation Line
Useless parentheses. 74

Gboat2 Approve Bundle - gboat2/approve/business/IApproveRecordBusiness.java

Violation Line
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 71

Gboat2 Approve Bundle - gboat2/approve/business/IApproveRecordHistoryBusiness.java

Violation Line
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 35

Gboat2 Approve Bundle - gboat2/approve/service/IApproveRecordService.java

Violation Line
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 34

Gboat2 Approve Bundle - gboat2/approve/service/IApproveService.java

Violation Line
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 55
Avoid modifiers which are implied by the context 65

Gboat2 Approve Bundle - gboat2/approve/service/ICallbackHandler.java

Violation Line
Avoid modifiers which are implied by the context 22

Gboat2 Approve flow Bundle - gboat2/approveflow/action/ApproveflowAction.java

Violation Line
Useless parentheses. 230
Useless parentheses. 230
Useless parentheses. 231
Useless parentheses. 231
Useless parentheses. 232
Useless parentheses. 232
Useless parentheses. 233
Useless parentheses. 233
Useless parentheses. 234
Useless parentheses. 234

Gboat2 Approve flow Bundle - gboat2/approveflow/business/IApproveflowBusiness.java

Violation Line
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 66
Avoid modifiers which are implied by the context 76
Avoid modifiers which are implied by the context 84
Avoid modifiers which are implied by the context 91
Avoid modifiers which are implied by the context 98
Avoid modifiers which are implied by the context 106
Avoid modifiers which are implied by the context 114
Avoid modifiers which are implied by the context 122
Avoid modifiers which are implied by the context 128
Avoid modifiers which are implied by the context 135
Avoid modifiers which are implied by the context 143
Avoid modifiers which are implied by the context 149
Avoid modifiers which are implied by the context 156

Gboat2 Approve flow Bundle - gboat2/approveflow/business/impl/ApproveflowBusinessImpl.java

Violation Line
Avoid unused local variables such as 'verifyLevel'. 67

Gboat2 Approve flow Bundle - gboat2/approveflow/service/IApproveFlowNodeChecker.java

Violation Line
Avoid modifiers which are implied by the context 19

Gboat2 Approve flow Bundle - gboat2/approveflow/service/IApproveFlowRegister.java

Violation Line
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 61

Gboat2 Approve flow Bundle - gboat2/approveflow/service/IApproveFlowService.java

Violation Line
Avoid modifiers which are implied by the context 13
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 61

Gboat2 Approve flow Bundle - gboat2/approveflow/service/impl/ApproveFlowServiceImpl.java

Violation Line
Useless parentheses. 68
Useless parentheses. 74
Useless parentheses. 79
Useless parentheses. 83
Useless parentheses. 87
Useless parentheses. 91

Gboat2 Attachment Bundle - gboat2/attachment/business/IAttachConfigBusiness.java

Violation Line
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 59

Gboat2 Attachment Bundle - gboat2/attachment/service/IAttachmentService.java

Violation Line
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 44–45
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 71
Avoid modifiers which are implied by the context 79
Avoid modifiers which are implied by the context 87
Avoid modifiers which are implied by the context 94
Avoid modifiers which are implied by the context 101
Avoid modifiers which are implied by the context 107
Avoid modifiers which are implied by the context 115
Avoid modifiers which are implied by the context 124
Avoid modifiers which are implied by the context 133
Avoid modifiers which are implied by the context 142
Avoid modifiers which are implied by the context 151
Avoid modifiers which are implied by the context 158
Avoid modifiers which are implied by the context 174
Avoid modifiers which are implied by the context 183
Avoid modifiers which are implied by the context 192

Gboat2 Attachment Bundle - gboat2/attachment/watermark/IM4JavaWatermarkStrategy.java

Violation Line
Useless parentheses. 62

Gboat2 Attachment Bundle - gboat2/attachment/watermark/JMagickWatermarkStrategy.java

Violation Line
Useless parentheses. 78

Gboat2 Attachment Bundle - gboat2/attachment/watermark/WatermarkStrategy.java

Violation Line
Avoid modifiers which are implied by the context 25

Gboat2 Base Bridge Bundle - gboat2/base/bridge/debug/AbstractDebugHook.java

Violation Line
Useless parentheses. 152

Gboat2 Base Bridge Bundle - gboat2/base/bridge/debug/DefaultDebugHook.java

Violation Line
Avoid empty catch blocks 98–99

Gboat2 Base Bridge Bundle - gboat2/base/bridge/util/ClassHelper.java

Violation Line
Useless parentheses. 37
Useless parentheses. 53

Gboat2 Base Bridge Bundle - gboat2/base/bridge/util/DateUtil.java

Violation Line
Useless parentheses. 282
Useless parentheses. 282

Gboat2 Base Bridge Bundle - gboat2/base/bridge/util/PackageClassUtil.java

Violation Line
Unnecessary use of fully qualified name 'java.net.URL' due to existing import 'java.net.URL' 157

Gboat2 Base Bridge Bundle - gboat2/base/bridge/util/json/JsonUtil.java

Violation Line
Useless parentheses. 410

Gboat2 Base Bridge Bundle - gboat2/base/bridge/util/security/RSAUtil.java

Violation Line
Useless parentheses. 269
Useless parentheses. 375

Gboat2 Base Bridge Bundle - gboat2/base/bridge/util/xml/Dom4jUtils.java

Violation Line
Avoid empty catch blocks 166–168
Avoid empty catch blocks 208–210
Avoid empty catch blocks 242–244
Avoid empty catch blocks 301–303

Gboat2 Base Bridge Bundle - gboat2/base/bridge/util/xml/XmlCharacterEscapeHandler.java

Violation Line
Useless parentheses. 43
Useless parentheses. 50

Gboat2 Base Core Bundle - gboat2/base/core/dao/IBaseDAO.java

Violation Line
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 68
Avoid modifiers which are implied by the context 76
Avoid modifiers which are implied by the context 83
Avoid modifiers which are implied by the context 90
Avoid modifiers which are implied by the context 101
Avoid modifiers which are implied by the context 109
Avoid modifiers which are implied by the context 117
Avoid modifiers which are implied by the context 119
Avoid modifiers which are implied by the context 121
Avoid modifiers which are implied by the context 128
Avoid modifiers which are implied by the context 135
Avoid modifiers which are implied by the context 137
Avoid modifiers which are implied by the context 138
Avoid modifiers which are implied by the context 139
Avoid modifiers which are implied by the context 145
Avoid modifiers which are implied by the context 152
Avoid modifiers which are implied by the context 159
Avoid modifiers which are implied by the context 168

Gboat2 Base Core Bundle - gboat2/base/core/dao/PageBean.java

Violation Line
Useless parentheses. 48
Useless parentheses. 49
Useless parentheses. 58
Useless parentheses. 77
Useless parentheses. 106
Useless parentheses. 128

Gboat2 Base Core Bundle - gboat2/base/core/logging/IBusinessLogService.java

Violation Line
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 47
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 66

Gboat2 Base Core Bundle - gboat2/base/core/model/Module.java

Violation Line
Useless parentheses. 87
Useless parentheses. 104

Gboat2 Base Core Bundle - gboat2/base/core/model/Opera.java

Violation Line
Ensure you override both equals() and hashCode() 156

Gboat2 Base Core Bundle - gboat2/base/core/service/IBaseService.java

Violation Line
Avoid modifiers which are implied by the context 16
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 30

Gboat2 Base Core Bundle - gboat2/base/core/service/IModuleService.java

Violation Line
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 64
Avoid modifiers which are implied by the context 70
Avoid modifiers which are implied by the context 76

Gboat2 Base Core Bundle - gboat2/base/core/service/IOperationProvider.java

Violation Line
Avoid modifiers which are implied by the context 18

Gboat2 Base Core Bundle - gboat2/base/core/service/IParameterService.java

Violation Line
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 46

Gboat2 Base Core Bundle - gboat2/base/core/service/ModuleService.java

Violation Line
Useless parentheses. 209
Useless parentheses. 210
These nested if statements could be combined 382–384

Gboat2 Base Core Bundle - gboat2/base/core/util/EscapeJavaScriptReference.java

Violation Line
Avoid unused method parameters such as 'escapeForwardSlash'. 79

Gboat2 Base Core Bundle - gboat2/base/core/util/JsonUtil.java

Violation Line
Useless parentheses. 129

Gboat2 Base Core Bundle - gboat2/base/core/util/SpringContextUtil.java

Violation Line
Unnecessary final modifier in final class 54–74
Avoid empty catch blocks 119–120
These nested if statements could be combined 122–131
Avoid empty catch blocks 129–130
These nested if statements could be combined 175–187
Avoid empty catch blocks 206–207
These nested if statements could be combined 209–220
Avoid empty catch blocks 218–219

Gboat2 Base Core Bundle - gboat2/base/core/validate/IDataPrivilegeCheckService.java

Violation Line
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 38

Gboat2 Base Core Bundle - gboat2/base/core/validate/IOperaPrivilegeCheckService.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 36

Gboat2 Base Core Bundle - gboat2/base/core/web/BaseActionSupport.java

Violation Line
These nested if statements could be combined 257–260
Avoid empty catch blocks 309–311
These nested if statements could be combined 716–732
These nested if statements could be combined 757–773
An empty statement (semicolon) not part of a loop 767
Useless parentheses. 807
Useless parentheses. 807
Useless parentheses. 1003

Gboat2 Base Core Bundle - gboat2/base/core/web/IBaseActionSupport.java

Violation Line
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 56

Gboat2 Base Core Bundle - gboat2/base/core/web/JsonResultSupport.java

Violation Line
Useless parentheses. 182
Useless parentheses. 182
Useless parentheses. 198
Useless parentheses. 198

Gboat2 Base Core Bundle - gboat2/base/core/web/MetadataSupportStrategy.java

Violation Line
Avoid unused method parameters such as 'action'. 341
Avoid unused method parameters such as 'actionClass'. 367
Avoid empty catch blocks 479–481
Avoid empty catch blocks 491–493
Avoid empty catch blocks 554–555
Useless parentheses. 588
Useless parentheses. 589–590
Useless parentheses. 589
Useless parentheses. 589

Gboat2 Base Core Bundle - gboat2/base/core/web/SystemButtonProvider.java

Violation Line
Avoid modifiers which are implied by the context 26

Gboat2 Base Core Bundle - gboat2/base/core/web/md/CacheHandler.java

Violation Line
These nested if statements could be combined 37–39

Gboat2 Base Core Bundle - gboat2/base/core/web/md/ExtendMethodHandler.java

Violation Line
Avoid empty catch blocks 35–37

Gboat2 Base Core Bundle - gboat2/base/core/web/md/IFileFilter.java

Violation Line
Avoid modifiers which are implied by the context 21

Gboat2 Base Core Bundle - gboat2/base/core/web/md/MetadataHandler.java

Violation Line
Avoid empty catch blocks 80–82
Avoid empty catch blocks 91–93
Avoid empty catch blocks 160–161
Useless parentheses. 194
Useless parentheses. 195–196
Useless parentheses. 195
Useless parentheses. 195

Gboat2 Base DAO Bundle - gboat2/base/dao/Activator.java

Violation Line
These nested if statements could be combined 114–117

Gboat2 Base DAO Bundle - gboat2/base/dao/aspect/GboatSessionFactoryAspect.java

Violation Line
These nested if statements could be combined 148–151

Gboat2 Base DAO Bundle - gboat2/base/dao/impl/BaseDAO.java

Violation Line
Useless parentheses. 287
Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' 619
Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' 622
Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' 623
Unnecessary use of fully qualified name 'java.util.Date' due to existing import 'java.util.Date' 625
Unnecessary use of fully qualified name 'java.math.BigDecimal' due to existing import 'java.math.BigDecimal' 634

Gboat2 Base DAO Bundle - gboat2/base/dao/impl/GenerateQL.java

Violation Line
Useless parentheses. 197
Useless parentheses. 220
Useless parentheses. 239
Useless parentheses. 240
Useless parentheses. 317
Useless parentheses. 317
Useless parentheses. 317
Unnecessary use of fully qualified name 'java.lang.reflect.Field' due to existing import 'java.lang.reflect.Field' 642
Unnecessary use of fully qualified name 'java.lang.reflect.Field' due to existing import 'java.lang.reflect.Field' 680
Unnecessary use of fully qualified name 'java.lang.reflect.Field' due to existing import 'java.lang.reflect.Field' 693
Useless parentheses. 774
Useless parentheses. 775
Useless parentheses. 848
Useless parentheses. 848
Avoid unused private methods such as 'checkBadWord(String)'. 948

Gboat2 Base Logging Bundle - gboat2/base/logging/action/LogConfigAction.java

Violation Line
These nested if statements could be combined 431–449
These nested if statements could be combined 432–448

Gboat2 Base Logging Bundle - gboat2/base/logging/aspectj/ILogServiceAspectJ.java

Violation Line
Avoid modifiers which are implied by the context 7

Gboat2 Base Logging Bundle - gboat2/base/logging/service/ISystemLogService.java

Violation Line
Avoid modifiers which are implied by the context 17
Avoid modifiers which are implied by the context 19

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/servlet/filter/AntiXssSqlInjectFilter.java

Violation Line
These nested if statements could be combined 128–130
These nested if statements could be combined 135–137

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/servlet/filter/GboatCSSFilter.java

Violation Line
Useless parentheses. 56

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/servlet/filter/StaticFileDebugFilter.java

Violation Line
Avoid unused method parameters such as 'request'. 119

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/struts/convention/GboatConventionUnknownHandler.java

Violation Line
Useless parentheses. 133

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/struts/convention/GboatPackageBasedActionConfigBuilder.java

Violation Line
Useless parentheses. 109

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/struts/dispatcher/GboatDispatcherResult.java

Violation Line
Useless parentheses. 153
Useless parentheses. 192

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/struts/interceptor/DestopMetadataInterceptor.java

Violation Line
Useless parentheses. 72

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/struts/interceptor/GboatFileUploadInterceptor.java

Violation Line
Useless parentheses. 148
These nested if statements could be combined 160–164
Avoid empty catch blocks 303–304
These nested if statements could be combined 355–363
These nested if statements could be combined 373–381

Gboat2 Base Struts2 Plugin Bundle - gboat2/base/plugin/struts/interceptor/RequestIntervalCheckInterceptor.java

Violation Line
These nested if statements could be combined 114–117

Gboat2 Base View Bundle - gboat2/base/view/GboatViewUtil.java

Violation Line
Useless parentheses. 216
Useless parentheses. 266

Gboat2 Base View Bundle - gboat2/base/view/components/Attach.java

Violation Line
Useless parentheses. 109

Gboat2 Base View Bundle - gboat2/base/view/components/AttachSequence.java

Violation Line
Useless parentheses. 77

Gboat2 Base View Bundle - gboat2/base/view/components/Block.java

Violation Line
Useless parentheses. 76

Gboat2 Base View Bundle - gboat2/base/view/components/Button.java

Violation Line
Avoid empty catch blocks 107–109

Gboat2 Base View Bundle - gboat2/base/view/components/Dialog.java

Violation Line
Useless parentheses. 153

Gboat2 Base View Bundle - gboat2/base/view/components/Slider.java

Violation Line
Useless parentheses. 137

Gboat2 Base View Bundle - gboat2/base/view/jsp/NavigationTag.java

Violation Line
Overriding method merely calls super 33–35

Gboat2 Base View Bundle - gboat2/base/view/model/CompContainer.java

Violation Line
Avoid unused private fields such as 'DEV_MODEL'. 24

Gboat2 Base View Bundle - gboat2/base/view/util/DescJsonUtil.java

Violation Line
Avoid empty catch blocks 207–208

Gboat2 CXF-DOSGI Bundle - gboat2/cxf/businessImpl/WebServiceConfigBusinessImpl.java

Violation Line
Useless parentheses. 84
Useless parentheses. 249
Useless parentheses. 249

Gboat2 CXF-DOSGI Bundle - gboat2/cxf/business/IWebServiceConfigBusiness.java

Violation Line
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 75
Avoid modifiers which are implied by the context 82
Avoid modifiers which are implied by the context 91

Gboat2 Example - gboat2/example/business/impl/ExampleUserBusinessImpl.java

Violation Line
Avoid unused imports such as 'gboat2.base.core.logging.IBusinessLogService' 5
Avoid unused imports such as 'gboat2.web.business.IRoleBusiness' 8

Gboat2 Report Bundle - gboat2/report/action/ReportConfigAction.java

Violation Line
Avoid unused private methods such as 'writeFileToDisk(File,File)'. 248

Gboat2 Report Bundle - gboat2/report/service/IReportConfigService.java

Violation Line
Avoid modifiers which are implied by the context 5
Avoid modifiers which are implied by the context 7

Gboat2 Serviceflow Bundle - gboat2/serviceflow/business/IJbpmWorkFlowBusiness.java

Violation Line
Avoid modifiers which are implied by the context 16
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 44

Gboat2 Serviceflow Bundle - gboat2/serviceflow/business/impl/JbpmWorkFlowBusinessImpl.java

Violation Line
Avoid unused private fields such as 'logger'. 31

Gboat2 Serviceflow Bundle - gboat2/serviceflow/service/IEntryActionHandler.java

Violation Line
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 42

Gboat2 Serviceflow Bundle - gboat2/serviceflow/service/IExitActionHandler.java

Violation Line
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 43

Gboat2 Serviceflow Bundle - gboat2/serviceflow/service/IFlowFilter.java

Violation Line
Avoid modifiers which are implied by the context 19

Gboat2 Serviceflow Bundle - gboat2/serviceflow/service/IHandlerRegister.java

Violation Line
Avoid modifiers which are implied by the context 18
Avoid modifiers which are implied by the context 20

Gboat2 Serviceflow Bundle - gboat2/serviceflow/service/IServiceFlowService.java

Violation Line
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 17
Avoid modifiers which are implied by the context 19
Avoid modifiers which are implied by the context 21
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 57

Gboat2 Serviceflow Bundle - gboat2/serviceflow/service/impl/ProcessDefine.java

Violation Line
Ensure you override both equals() and hashCode() 43

Gboat2 Web Bundle - gboat2/web/action/GIndexAction.java

Violation Line
These nested if statements could be combined 263–275

Gboat2 Web Bundle - gboat2/web/action/GrepAction.java

Violation Line
Avoid empty catch blocks 51–53

Gboat2 Web Bundle - gboat2/web/action/GroupAction.java

Violation Line
Useless parentheses. 317
Useless parentheses. 317
Useless parentheses. 333
Useless parentheses. 333

Gboat2 Web Bundle - gboat2/web/action/LoginAction.java

Violation Line
Avoid unused imports such as 'gboat2.base.bridge.model.NaviResource' 8
Avoid unused imports such as 'gboat2.web.model.Resource' 27
Avoid unused imports such as 'java.util.Iterator' 44
Avoid unused private methods such as 'checkValidNumber()'. 291
Avoid empty catch blocks 526–527
Useless parentheses. 560
Useless parentheses. 568

Gboat2 Web Bundle - gboat2/web/action/MetadataAction.java

Violation Line
These nested if statements could be combined 109–113

Gboat2 Web Bundle - gboat2/web/action/PreferenceAction.java

Violation Line
Useless parentheses. 81

Gboat2 Web Bundle - gboat2/web/action/ShortcutAction.java

Violation Line
Invoke equals() on the object you've already ensured is not null 234

Gboat2 Web Bundle - gboat2/web/action/SystemConfigAction.java

Violation Line
These nested if statements could be combined 120–123

Gboat2 Web Bundle - gboat2/web/business/IAuthorityBusiness.java

Violation Line
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 61
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 83
Avoid modifiers which are implied by the context 101
Avoid modifiers which are implied by the context 111
Avoid modifiers which are implied by the context 122
Avoid modifiers which are implied by the context 131
Avoid modifiers which are implied by the context 139
Avoid modifiers which are implied by the context 147
Avoid modifiers which are implied by the context 156
Avoid modifiers which are implied by the context 166
Avoid modifiers which are implied by the context 176
Avoid modifiers which are implied by the context 184
Avoid modifiers which are implied by the context 192
Avoid modifiers which are implied by the context 205
Avoid modifiers which are implied by the context 229
Avoid modifiers which are implied by the context 238
Avoid modifiers which are implied by the context 259
Avoid modifiers which are implied by the context 267
Avoid modifiers which are implied by the context 276
Avoid modifiers which are implied by the context 286
Avoid modifiers which are implied by the context 295
Avoid modifiers which are implied by the context 303
Avoid modifiers which are implied by the context 314
Avoid modifiers which are implied by the context 326
Avoid modifiers which are implied by the context 338

Gboat2 Web Bundle - gboat2/web/business/ICacheAssistBusiness.java

Violation Line
Avoid modifiers which are implied by the context 22
Avoid modifiers which are implied by the context 29

Gboat2 Web Bundle - gboat2/web/business/IDataLevelAuthorityBusiness.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 75
Avoid modifiers which are implied by the context 83
Avoid modifiers which are implied by the context 93
Avoid modifiers which are implied by the context 104
Avoid modifiers which are implied by the context 116
Avoid modifiers which are implied by the context 128

Gboat2 Web Bundle - gboat2/web/business/IDataLevelBusiness.java

Violation Line
Avoid modifiers which are implied by the context 27

Gboat2 Web Bundle - gboat2/web/business/IGroupBusiness.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 56

Gboat2 Web Bundle - gboat2/web/business/IGroupOrganBusiness.java

Violation Line
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 53

Gboat2 Web Bundle - gboat2/web/business/IGroupRoleBusiness.java

Violation Line
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 62
Avoid modifiers which are implied by the context 71
Avoid modifiers which are implied by the context 79
Avoid modifiers which are implied by the context 87

Gboat2 Web Bundle - gboat2/web/business/ILoginBusiness.java

Violation Line
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 32
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 53
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 74

Gboat2 Web Bundle - gboat2/web/business/IMetadataBusiness.java

Violation Line
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 28

Gboat2 Web Bundle - gboat2/web/business/IOperationBusiness.java

Violation Line
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 46

Gboat2 Web Bundle - gboat2/web/business/IOrganDefineBusiness.java

Violation Line
Avoid modifiers which are implied by the context 26

Gboat2 Web Bundle - gboat2/web/business/IPreferenceConfigBusiness.java

Violation Line
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 59

Gboat2 Web Bundle - gboat2/web/business/IProfileBusiness.java

Violation Line
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 30

Gboat2 Web Bundle - gboat2/web/business/IResourceBusiness.java

Violation Line
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 66
Avoid modifiers which are implied by the context 73
Avoid modifiers which are implied by the context 79
Avoid modifiers which are implied by the context 86
Avoid modifiers which are implied by the context 88
Avoid modifiers which are implied by the context 90
Avoid modifiers which are implied by the context 92
Avoid modifiers which are implied by the context 99
Avoid modifiers which are implied by the context 107

Gboat2 Web Bundle - gboat2/web/business/IRoleBusiness.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 48

Gboat2 Web Bundle - gboat2/web/business/IShortcutBusiness.java

Violation Line
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 28
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 40
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 68

Gboat2 Web Bundle - gboat2/web/business/ISystemConfigBusiness.java

Violation Line
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 38
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 56
Avoid modifiers which are implied by the context 62
Avoid modifiers which are implied by the context 69
Avoid modifiers which are implied by the context 71
Avoid modifiers which are implied by the context 79
Avoid modifiers which are implied by the context 85

Gboat2 Web Bundle - gboat2/web/business/IUserBusiness.java

Violation Line
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 50
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 67
Avoid modifiers which are implied by the context 74
Avoid modifiers which are implied by the context 82
Avoid modifiers which are implied by the context 89
Avoid modifiers which are implied by the context 96
Avoid modifiers which are implied by the context 103
Avoid modifiers which are implied by the context 112
Avoid modifiers which are implied by the context 121
Avoid modifiers which are implied by the context 132
Avoid modifiers which are implied by the context 141
Avoid modifiers which are implied by the context 148

Gboat2 Web Bundle - gboat2/web/business/IVersionMgrBusiness.java

Violation Line
Avoid modifiers which are implied by the context 20

Gboat2 Web Bundle - gboat2/web/business/IWidgetAuthorityConfigBusiness.java

Violation Line
Avoid modifiers which are implied by the context 21

Gboat2 Web Bundle - gboat2/web/business/impl/AuthorityBusinessImpl.java

Violation Line
These nested if statements could be combined 605–615
Useless parentheses. 682
Useless parentheses. 682
Avoid unused method parameters such as 'resId'. 751

Gboat2 Web Bundle - gboat2/web/business/impl/LoginBusinessImpl.java

Violation Line
Avoid unused private methods such as 'getQualStatusOfEnterprise(String)'. 212

Gboat2 Web Bundle - gboat2/web/business/impl/ShortcutBusinessImpl.java

Violation Line
Avoid unused private fields such as 'cacheSer'. 63

Gboat2 Web Bundle - gboat2/web/service/IAuthorityService.java

Violation Line
Avoid modifiers which are implied by the context 26
Avoid modifiers which are implied by the context 37

Gboat2 Web Bundle - gboat2/web/service/IOrganizationService.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 50

Gboat2 Web Bundle - gboat2/web/service/IPreferenceConfigService.java

Violation Line
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 59

Gboat2 Web Bundle - gboat2/web/service/IResourceService.java

Violation Line
Avoid modifiers which are implied by the context 23
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 37

Gboat2 Web Bundle - gboat2/web/service/IRoleService.java

Violation Line
Avoid modifiers which are implied by the context 25
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 37
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 58
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 72
Avoid modifiers which are implied by the context 80
Avoid modifiers which are implied by the context 88

Gboat2 Web Bundle - gboat2/web/service/ISessionService.java

Violation Line
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 46
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 72

Gboat2 Web Bundle - gboat2/web/service/ISystemConfigService.java

Violation Line
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 40

Gboat2 Web Bundle - gboat2/web/service/IUserAuthService.java

Violation Line
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 52

Gboat2 Web Bundle - gboat2/web/service/IUserService.java

Violation Line
Avoid modifiers which are implied by the context 23–24
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 39
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 52
Avoid modifiers which are implied by the context 59
Avoid modifiers which are implied by the context 66
Avoid modifiers which are implied by the context 73
Avoid modifiers which are implied by the context 80
Avoid modifiers which are implied by the context 87
Avoid modifiers which are implied by the context 94
Avoid modifiers which are implied by the context 106
Avoid modifiers which are implied by the context 115
Avoid modifiers which are implied by the context 121
Avoid modifiers which are implied by the context 127
Avoid modifiers which are implied by the context 133

Gboat2 Web Bundle - gboat2/web/service/IVersionMrgService.java

Violation Line
Avoid modifiers which are implied by the context 19

Gboat2 Web Bundle - gboat2/web/service/IWidgetService.java

Violation Line
Avoid modifiers which are implied by the context 24
Avoid modifiers which are implied by the context 30
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 63
Avoid modifiers which are implied by the context 69

Gboat2 Web Bundle - gboat2/web/service/impl/SystemOrganServiceImpl.java

Violation Line
Useless parentheses. 77

Gboat2 Web Bundle - gboat2/web/util/CXFClient.java

Violation Line
Avoid empty if statements 29–34