Apache Commons logo Commons Lang

PMD Results

The following document contains the results of PMD 5.3.2.

Files

org/apache/commons/lang3/CharSetUtils.java

Violation Line
Useless parentheses. 79
Useless parentheses. 79
Useless parentheses. 82
Useless parentheses. 82

org/apache/commons/lang3/JavaVersion.java

Violation Line
Avoid empty catch blocks 213215

org/apache/commons/lang3/LocaleUtils.java

Violation Line
Useless parentheses. 145

org/apache/commons/lang3/StringUtils.java

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

org/apache/commons/lang3/ThreadUtils.java

Violation Line
Avoid using java.lang.ThreadGroup; it is not thread safe 180
Avoid using java.lang.ThreadGroup; it is not thread safe 447

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

Violation Line
Useless parentheses. 325
Useless parentheses. 327
Useless parentheses. 478
Useless parentheses. 478
Useless parentheses. 478
Useless parentheses. 494
Useless parentheses. 494
Useless parentheses. 494
Useless parentheses. 510
Useless parentheses. 510
Useless parentheses. 510
Useless parentheses. 526
Useless parentheses. 526
Useless parentheses. 526
Useless parentheses. 542
Useless parentheses. 542
Useless parentheses. 542
Useless parentheses. 675
Useless parentheses. 715
Useless parentheses. 755
Useless parentheses. 795
Useless parentheses. 835
Useless parentheses. 875
Useless parentheses. 915
Useless parentheses. 955
Useless parentheses. 995

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

Violation Line
Useless parentheses. 418
Useless parentheses. 419

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

Violation Line
Useless parentheses. 197
Useless parentheses. 198
Ensure you override both equals() and hashCode() 992

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

Violation Line
Useless parentheses. 477
Useless parentheses. 480
Useless parentheses. 543
Useless parentheses. 557
Useless parentheses. 642
Useless parentheses. 1381
Useless parentheses. 1382
Useless parentheses. 1413

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

Violation Line
Avoid empty catch blocks 737739
Avoid empty catch blocks 739741

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

Violation Line
Useless parentheses. 165

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

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

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

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

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

Violation Line
Avoid empty catch blocks 173175

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

Violation Line
Avoid empty catch blocks 382384

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

Violation Line
These nested if statements could be combined 246249
Avoid unused constructor parameters such as 'cal'. 842