Dev/mapper service addition #56
Annotations
4 warnings
|
src/main/java/uk/gov/hmcts/cp/services/CaseUrnMapperService.java#L64
A local variable assigned only once can be declared final.
LocalVariableCouldBeFinal (Priority: 3, Ruleset: Code Style)
https://docs.pmd-code.org/snapshot/pmd_rules_java_codestyle.html#localvariablecouldbefinal
|
|
src/main/java/uk/gov/hmcts/cp/services/CaseUrnMapperService.java#L63
Unused Private Method detects when a private method is declared but is unused.
UnusedPrivateMethod (Priority: 3, Ruleset: Best Practices)
https://docs.pmd-code.org/snapshot/pmd_rules_java_bestpractices.html#unusedprivatemethod
|
|
src/main/java/uk/gov/hmcts/cp/services/CaseUrnMapperService.java#L55
Reports method and constructor parameters that can be made final because they are never reassigned within the body of the method.
This rule ignores unused parameters so as not to overlap with the rule {% rule java/bestpractices/UnusedFormalParameter %}.
It will also ignore the parameters of abstract methods.
MethodArgumentCouldBeFinal (Priority: 3, Ruleset: Code Style)
https://docs.pmd-code.org/snapshot/pmd_rules_java_codestyle.html#methodargumentcouldbefinal
|
|
src/main/java/uk/gov/hmcts/cp/services/CaseUrnMapperService.java#L55
Unused Private Method detects when a private method is declared but is unused.
UnusedPrivateMethod (Priority: 3, Ruleset: Best Practices)
https://docs.pmd-code.org/snapshot/pmd_rules_java_bestpractices.html#unusedprivatemethod
|
The logs for this run have expired and are no longer available.
Loading