Skip to content

AMP-204 - Change webhook to callback pattern for notification api call to client #91

AMP-204 - Change webhook to callback pattern for notification api call to client

AMP-204 - Change webhook to callback pattern for notification api call to client #91

Triggered via pull request January 29, 2026 14:05
Status Failure
Total duration 21s
Artifacts 1

code-analysis.yml

on: pull_request
pmd-analysis
16s
pmd-analysis
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
pmd-analysis
Process completed with exit code 1.
Parameter 'ex' is not assigned and could be declared final: src/main/java/uk/gov/hmcts/cp/subscription/controllers/advice/GlobalExceptionHandler.java#L65
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
Unused import 'org.springframework.transaction.annotation.Transactional': src/main/java/uk/gov/hmcts/cp/subscription/controllers/NotificationController.java#L8
Reports import statements that can be removed. They are either unused, duplicated, or the members they import are already implicitly in scope, because they're in java.lang, or the current package. If some imports cannot be resolved, for instance because you run PMD with an incomplete auxiliary classpath, some imports may be conservatively marked as used even if they're not to avoid false positives. UnnecessaryImport (Priority: 4, Ruleset: Code Style) https://docs.pmd-code.org/snapshot/pmd_rules_java_codestyle.html#unnecessaryimport

Artifacts

Produced during runtime
Name Size Digest
PMD Report
1.17 KB
sha256:d337b42d02f6776fab4fe61bb5bdb39a2645b10baa15a1337d3873bcc547fcdf