PMD Results

The following document contains the results of PMD 6.8.0.

Files

org/threeten/extra/AmountFormats.java

Violation Priority Line
Useless parentheses. 4 134
Useless parentheses. 4 298
Unnecessary modifier 'public' on interface 'UnitFormat': types nested within an interface type are implicitly static 3 313–330
Avoid unnecessary return statements 3 380

org/threeten/extra/DayOfYear.java

Violation Priority Line
Useless parentheses. 4 360

org/threeten/extra/Interval.java

Violation Priority Line
Useless parentheses. 4 386
Useless parentheses. 4 402
Useless parentheses. 4 428
Useless parentheses. 4 429
Useless parentheses. 4 456
Useless parentheses. 4 457
Useless parentheses. 4 475
Useless parentheses. 4 476

org/threeten/extra/LocalDateRange.java

Violation Priority Line
Useless parentheses. 4 161
Useless parentheses. 4 500
Useless parentheses. 4 516
Useless parentheses. 4 542
Useless parentheses. 4 543
Useless parentheses. 4 570
Useless parentheses. 4 571
Useless parentheses. 4 589
Useless parentheses. 4 590

org/threeten/extra/PackedFields.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–424
Unnecessary modifier 'static' on enum 'PackedDate': nested enums are implicitly static 3 118–217
Unnecessary modifier 'static' on enum 'PackedHourMin': nested enums are implicitly static 3 223–308
Unnecessary modifier 'static' on enum 'PackedTime': nested enums are implicitly static 3 314–406

org/threeten/extra/PeriodDuration.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–674
These nested if statements could be combined 3 188–190
Unnecessary use of fully qualified name 'ChronoUnit.DAYS' due to existing static import 'java.time.temporal.ChronoUnit.DAYS' 4 202
Unnecessary use of fully qualified name 'ChronoUnit.MONTHS' due to existing static import 'java.time.temporal.ChronoUnit.MONTHS' 4 206
Unnecessary use of fully qualified name 'ChronoUnit.YEARS' due to existing static import 'java.time.temporal.ChronoUnit.YEARS' 4 210

org/threeten/extra/Quarter.java

Violation Priority Line
Useless parentheses. 4 393

org/threeten/extra/Temporals.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–389
Unnecessary modifier 'static' on enum 'Adjuster': nested enums are implicitly static 3 133–194
Avoid empty catch blocks 3 234–236
Unnecessary use of fully qualified name 'ChronoUnit.DAYS' due to existing static import 'java.time.temporal.ChronoUnit.DAYS' 4 266

org/threeten/extra/YearQuarter.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–1268
Useless parentheses. 4 419
Useless parentheses. 4 457
Useless parentheses. 4 461
Useless parentheses. 4 499
Useless parentheses. 4 503
Useless parentheses. 4 613
Useless parentheses. 4 702
Useless parentheses. 4 923
Useless parentheses. 4 936
Useless parentheses. 4 949
Useless parentheses. 4 1182

org/threeten/extra/YearWeek.java

Violation Priority Line
Useless parentheses. 4 196
Useless parentheses. 4 481
Useless parentheses. 4 712
Useless parentheses. 4 714

org/threeten/extra/chrono/AbstractDate.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–398
Useless parentheses. 4 150
Useless parentheses. 4 160
Useless parentheses. 4 164
Useless parentheses. 4 168
Useless parentheses. 4 172

org/threeten/extra/chrono/AbstractNileDate.java

Violation Priority Line
Useless parentheses. 4 61
Useless parentheses. 4 61
Useless parentheses. 4 86
Useless parentheses. 4 94

org/threeten/extra/chrono/AccountingChronology.java

Violation Priority Line
Useless parentheses. 4 513

org/threeten/extra/chrono/AccountingDate.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–507
Useless parentheses. 4 241–242
Useless parentheses. 4 363–364
Useless parentheses. 4 441

org/threeten/extra/chrono/AccountingYearDivision.java

Violation Priority Line
Unnecessary modifier 'private' on constructor 'AccountingYearDivision(int)': enum constructors are implicitly private 3 91–100
Useless parentheses. 4 150
Useless parentheses. 4 176
Useless parentheses. 4 206
Useless parentheses. 4 210

org/threeten/extra/chrono/BritishCutoverChronology.java

Violation Priority Line
Useless parentheses. 4 428

org/threeten/extra/chrono/BritishCutoverDate.java

Violation Priority Line
Useless parentheses. 4 195
Useless parentheses. 4 252
Useless parentheses. 4 263
Useless parentheses. 4 288
Useless parentheses. 4 296
Useless parentheses. 4 303
Useless parentheses. 4 308
Useless parentheses. 4 313
Useless parentheses. 4 403
Useless parentheses. 4 419
Useless parentheses. 4 435
Useless parentheses. 4 467

org/threeten/extra/chrono/CopticChronology.java

Violation Priority Line
Useless parentheses. 4 325

org/threeten/extra/chrono/CopticDate.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–396
Useless parentheses. 4 226
Useless parentheses. 4 227
Useless parentheses. 4 344
Useless parentheses. 4 376

org/threeten/extra/chrono/DiscordianDate.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–746
Useless parentheses. 4 96
Useless parentheses. 4 100
Useless parentheses. 4 104
Useless parentheses. 4 280
Useless parentheses. 4 284
Useless parentheses. 4 285
These nested if statements could be combined 3 417–435
Useless parentheses. 4 455
Useless parentheses. 4 584
Useless parentheses. 4 585
Useless parentheses. 4 587
Useless parentheses. 4 588
Useless parentheses. 4 648
Useless parentheses. 4 661
Useless parentheses. 4 693
Useless parentheses. 4 694
Useless parentheses. 4 704
Useless parentheses. 4 705
Useless parentheses. 4 724

org/threeten/extra/chrono/EthiopicChronology.java

Violation Priority Line
Useless parentheses. 4 325

org/threeten/extra/chrono/EthiopicDate.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–398
Useless parentheses. 4 228
Useless parentheses. 4 229
Useless parentheses. 4 346
Useless parentheses. 4 378

org/threeten/extra/chrono/InternationalFixedChronology.java

Violation Priority Line
Useless parentheses. 4 126
Useless parentheses. 4 403
Useless parentheses. 4 482

org/threeten/extra/chrono/InternationalFixedDate.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–785
Useless parentheses. 4 253
Useless parentheses. 4 267
Useless parentheses. 4 268
Useless parentheses. 4 320
Useless parentheses. 4 364
Useless parentheses. 4 418
Useless parentheses. 4 426
Useless parentheses. 4 441
Useless parentheses. 4 445
Useless parentheses. 4 539
Useless parentheses. 4 543
Useless parentheses. 4 722
Useless parentheses. 4 741

org/threeten/extra/chrono/JulianChronology.java

Violation Priority Line
Useless parentheses. 4 350
Useless parentheses. 4 358

org/threeten/extra/chrono/JulianDate.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–465
Useless parentheses. 4 89
Useless parentheses. 4 239
Useless parentheses. 4 242
Useless parentheses. 4 243
Useless parentheses. 4 282
Useless parentheses. 4 382
Useless parentheses. 4 397
Useless parentheses. 4 437
Useless parentheses. 4 461
Useless parentheses. 4 461

org/threeten/extra/chrono/PaxChronology.java

Violation Priority Line
Useless parentheses. 4 391
Useless parentheses. 4 399

org/threeten/extra/chrono/PaxDate.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–684
Useless parentheses. 4 98
Useless parentheses. 4 102
Useless parentheses. 4 106
Useless parentheses. 4 256
Useless parentheses. 4 268
Useless parentheses. 4 357
Unnecessary use of fully qualified name 'ChronoField.MONTH_OF_YEAR' due to existing static import 'java.time.temporal.ChronoField.MONTH_OF_YEAR' 4 447
Useless parentheses. 4 487
Useless parentheses. 4 502
Unnecessary use of fully qualified name 'ChronoField.YEAR' due to existing static import 'java.time.temporal.ChronoField.YEAR' 4 522
Useless parentheses. 4 618

org/threeten/extra/chrono/Symmetry010Chronology.java

Violation Priority Line
Useless parentheses. 4 157

org/threeten/extra/chrono/Symmetry010Date.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–657
Useless parentheses. 4 328
Useless parentheses. 4 348
Useless parentheses. 4 388
Useless parentheses. 4 486

org/threeten/extra/chrono/Symmetry454Chronology.java

Violation Priority Line
Useless parentheses. 4 150

org/threeten/extra/chrono/Symmetry454Date.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–675
Useless parentheses. 4 395
Useless parentheses. 4 400
Useless parentheses. 4 405
Useless parentheses. 4 409
Useless parentheses. 4 490
Useless parentheses. 4 510

org/threeten/extra/scale/SystemUtcRules.java

Violation Priority Line
Useless parentheses. 4 179
Useless parentheses. 4 196
Useless parentheses. 4 197
Useless parentheses. 4 201

org/threeten/extra/scale/UtcInstant.java

Violation Priority Line
Too many static imports may lead to messy code 3 32–500
Useless parentheses. 4 489
Useless parentheses. 4 491
Useless parentheses. 4 493

Back to top

Version: 1.5.0. Last Published: 2019-02-24.

Reflow Maven skin.