PMD - pull_request #579
Annotations
3 errors and 1 warning
|
This class has only private constructors and may be final:
powertools-serialization/src/main/java/software/amazon/lambda/powertools/utilities/JsonConfig.java#L167
Reports classes that may be made final because they cannot be extended from outside
their compilation unit anyway. This is because all their constructors are private,
so a subclass could not call the super constructor.
ClassWithOnlyPrivateConstructorsShouldBeFinal (Priority: 1, Ruleset: Design)
https://docs.pmd-code.org/snapshot/pmd_rules_java_design.html#classwithonlyprivateconstructorsshouldbefinal
|
|
Avoid empty catch blocks:
powertools-serialization/src/main/java/software/amazon/lambda/powertools/utilities/JsonConfig.java#L162
Empty Catch Block finds instances where an exception is caught, but nothing is done.
In most circumstances, this swallows an exception which should either be acted on
or reported.
EmptyCatchBlock (Priority: 1, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_java_errorprone.html#emptycatchblock
|
|
Avoid empty catch blocks:
powertools-serialization/src/main/java/software/amazon/lambda/powertools/utilities/JsonConfig.java#L142
Empty Catch Block finds instances where an exception is caught, but nothing is done.
In most circumstances, this swallows an exception which should either be acted on
or reported.
EmptyCatchBlock (Priority: 1, Ruleset: Error Prone)
https://docs.pmd-code.org/snapshot/pmd_rules_java_errorprone.html#emptycatchblock
|
|
pmd_analyse
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
PMD Report
|
1 KB |
sha256:6ccceb4076fe8fc404b237524fe4db0fc1e326ab5b4dcad14ac8dcf887d8a1db
|
|