PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/commons/scaffold/http/SetUp.java

Violation Line
No need to import a type that lives in the same package 24

org/apache/commons/scaffold/lucene/Engine.java

Violation Line
Unnecessary final modifier in final class 89 - 92
Unnecessary final modifier in final class 102 - 104
Unnecessary final modifier in final class 113 - 125
Unnecessary final modifier in final class 135 - 148
Unnecessary final modifier in final class 157 - 169
Unnecessary final modifier in final class 178 - 190
Unnecessary final modifier in final class 200 - 213
Unnecessary final modifier in final class 229 - 253
Avoid empty catch blocks 246 - 248

org/apache/commons/scaffold/sql/AccessBase.java

Violation Line
No need to import a type that lives in the same package 33
Avoid unused local variables such as 'result'. 123

org/apache/commons/scaffold/sql/StatementUtils.java

Violation Line
Unnecessary final modifier in final class 46 - 50
Unnecessary final modifier in final class 70 - 79
Unnecessary final modifier in final class 109 - 157
Avoid unused local variables such as 'resultCode'. 121
Avoid empty catch blocks 150 - 152
Unnecessary final modifier in final class 183 - 229
Avoid empty catch blocks 222 - 224
Unnecessary final modifier in final class 242 - 253
Unnecessary final modifier in final class 265 - 272
Unnecessary final modifier in final class 288 - 296
Unnecessary final modifier in final class 308 - 314
Unnecessary final modifier in final class 337 - 373
Avoid empty catch blocks 368
Unnecessary final modifier in final class 397 - 432
Avoid empty catch blocks 425 - 427
Unnecessary final modifier in final class 446 - 457
Unnecessary final modifier in final class 471 - 483
Unnecessary final modifier in final class 497 - 505
Unnecessary final modifier in final class 528 - 560
Avoid unused local variables such as 'collection'. 535
Avoid empty catch blocks 553 - 555
Unnecessary final modifier in final class 575 - 586
Unnecessary final modifier in final class 601 - 612
Unnecessary final modifier in final class 627 - 635
Unnecessary final modifier in final class 656 - 687
Avoid empty catch blocks 680 - 682
Unnecessary final modifier in final class 701 - 712
Unnecessary final modifier in final class 726 - 737
Unnecessary final modifier in final class 751 - 759

org/apache/commons/scaffold/sql/StorageBeanBase.java

Violation Line
Avoid unused local variables such as 'result'. 493
Avoid unused local variables such as 'result'. 509

org/apache/commons/scaffold/text/ConvertUtils.java

Violation Line
An empty statement (semicolon) not part of a loop 65
Avoid unused private methods such as 'stripLn(String)'. 383
An empty statement (semicolon) not part of a loop 517
An empty statement (semicolon) not part of a loop 519
Do not start a literal by 0 unless it's an octal value 843

org/apache/commons/scaffold/util/BizRequestImpl.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 74

org/apache/commons/scaffold/util/ProcessBeanBase.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 99