Apache Commons logo Commons Lang

PMD Results

The following document contains the results of PMD 5.0.2.

Files

org/apache/commons/lang3/ArrayUtils.java

Violation Line
Useless parentheses. 1228
Useless parentheses. 1229
Useless parentheses. 1230
Useless parentheses. 1246
Useless parentheses. 1247
Useless parentheses. 1248
Useless parentheses. 1264
Useless parentheses. 1265
Useless parentheses. 1266
Useless parentheses. 1282
Useless parentheses. 1283
Useless parentheses. 1284
Useless parentheses. 1300
Useless parentheses. 1301
Useless parentheses. 1302
Useless parentheses. 1318
Useless parentheses. 1319
Useless parentheses. 1320
Useless parentheses. 1336
Useless parentheses. 1337
Useless parentheses. 1338
Useless parentheses. 1354
Useless parentheses. 1355
Useless parentheses. 1356
Useless parentheses. 1372
Useless parentheses. 1373
Useless parentheses. 1374
Useless parentheses. 2988
Useless parentheses. 3056
Useless parentheses. 3124
Useless parentheses. 3192
Useless parentheses. 3260
Useless parentheses. 3328
Useless parentheses. 3396
Useless parentheses. 3464
Useless parentheses. 3485
Useless parentheses. 3600
Useless parentheses. 3611
Useless parentheses. 3622
Useless parentheses. 3633
Useless parentheses. 3644
Useless parentheses. 3655
Useless parentheses. 3666
Useless parentheses. 3677
Useless parentheses. 3688

org/apache/commons/lang3/Conversion.java

Violation Line
Useless parentheses. 687
Useless parentheses. 698
Useless parentheses. 724
Useless parentheses. 761
Useless parentheses. 798
Useless parentheses. 834
Useless parentheses. 871
Useless parentheses. 1044
Useless parentheses. 1080
Useless parentheses. 1117
Useless parentheses. 1154
Useless parentheses. 1562
Useless parentheses. 1596
Useless parentheses. 1628
Useless parentheses. 1631
Useless parentheses. 1664

org/apache/commons/lang3/LocaleUtils.java

Violation Line
Useless parentheses. 148

org/apache/commons/lang3/ObjectUtils.java

Violation Line
Overriding method merely calls super 211 - 213

org/apache/commons/lang3/RandomUtils.java

Violation Line
Useless parentheses. 146
Useless parentheses. 172

org/apache/commons/lang3/StringUtils.java

Violation Line
Avoid using a branching statement as the last in a loop. 1731
Useless parentheses. 6406
Useless parentheses. 6418
Useless parentheses. 6941
Useless parentheses. 7019
Useless parentheses. 7044
Avoid unused private methods such as 'appendIfMissing(String,CharSequence,boolean,CharSequence...)'. 7411

org/apache/commons/lang3/builder/CompareToBuilder.java

Violation Line
Useless parentheses. 318
Useless parentheses. 320
Useless parentheses. 466
Useless parentheses. 466
Useless parentheses. 466
Useless parentheses. 466
Useless parentheses. 482
Useless parentheses. 482
Useless parentheses. 482
Useless parentheses. 482
Useless parentheses. 498
Useless parentheses. 498
Useless parentheses. 498
Useless parentheses. 498
Useless parentheses. 514
Useless parentheses. 514
Useless parentheses. 514
Useless parentheses. 514
Useless parentheses. 530
Useless parentheses. 530
Useless parentheses. 530
Useless parentheses. 530
Useless parentheses. 663
Useless parentheses. 703
Useless parentheses. 743
Useless parentheses. 783
Useless parentheses. 823
Useless parentheses. 863
Useless parentheses. 903
Useless parentheses. 943
Useless parentheses. 983

org/apache/commons/lang3/builder/DiffBuilder.java

Violation Line
Useless parentheses. 111

org/apache/commons/lang3/builder/EqualsBuilder.java

Violation Line
Useless parentheses. 407
Useless parentheses. 409
Useless parentheses. 510
Useless parentheses. 525
Useless parentheses. 540
Useless parentheses. 555
Useless parentheses. 570
Useless parentheses. 625

org/apache/commons/lang3/builder/HashCodeBuilder.java

Violation Line
Useless parentheses. 182
Useless parentheses. 184
Ensure you override both equals() and hashCode() 952

org/apache/commons/lang3/math/NumberUtils.java

Violation Line
Useless parentheses. 477
Useless parentheses. 480
Useless parentheses. 546
Useless parentheses. 560
Useless parentheses. 604
Useless parentheses. 614
Useless parentheses. 1351
Useless parentheses. 1352
Useless parentheses. 1383

org/apache/commons/lang3/mutable/MutableBoolean.java

Violation Line
Useless parentheses. 200

org/apache/commons/lang3/mutable/MutableByte.java

Violation Line
Useless parentheses. 272

org/apache/commons/lang3/mutable/MutableInt.java

Violation Line
Useless parentheses. 262

org/apache/commons/lang3/mutable/MutableLong.java

Violation Line
Useless parentheses. 262

org/apache/commons/lang3/mutable/MutableShort.java

Violation Line
Useless parentheses. 272

org/apache/commons/lang3/reflect/FieldUtils.java

Violation Line
Avoid empty catch blocks 697 - 699
Avoid empty catch blocks 699 - 701

org/apache/commons/lang3/reflect/TypeUtils.java

Violation Line
Avoid using a branching statement as the last in a loop. 497

org/apache/commons/lang3/text/StrBuilder.java

Violation Line
Useless parentheses. 1388
Useless parentheses. 1435
Useless parentheses. 1743
Useless parentheses. 1761
Useless parentheses. 1836
Useless parentheses. 1890
Useless parentheses. 1892
Useless parentheses. 1910
Useless parentheses. 1914
Useless parentheses. 1997
Useless parentheses. 2301
Useless parentheses. 2337
Avoid using a branching statement as the last in a loop. 2360
Useless parentheses. 2392
Useless parentheses. 2425
Useless parentheses. 2460
Avoid using a branching statement as the last in a loop. 2477
Useless parentheses. 2513

org/apache/commons/lang3/text/StrSubstitutor.java

Violation Line
Useless parentheses. 856

org/apache/commons/lang3/time/DateUtils.java

Violation Line
Useless parentheses. 183 - 185
Useless parentheses. 242 - 249
Useless parentheses. 988
Useless parentheses. 997
Useless parentheses. 1012

org/apache/commons/lang3/time/DurationFormatUtils.java

Violation Line
Useless parentheses. 138
Useless parentheses. 142
Useless parentheses. 146
Useless parentheses. 150