PMD - pull_request #534
Annotations
2 errors
|
Document empty constructor:
powertools-cloudformation/src/test/java/software/amazon/lambda/powertools/cloudformation/NullCustomResourceHandler.java#L26
Uncommented Empty Constructor finds instances where a constructor does not
contain statements, but there is no comment. By explicitly commenting empty
constructors it is easier to distinguish between intentional (commented)
and unintentional empty constructors.
UncommentedEmptyConstructor (Priority: 1, Ruleset: Documentation)
https://docs.pmd-code.org/snapshot/pmd_rules_java_documentation.html#uncommentedemptyconstructor
|
|
Consider simply returning the value vs storing it in local variable 'builder':
powertools-cloudformation/src/test/java/software/amazon/lambda/powertools/cloudformation/CloudFormationIntegrationTest.java#L48
Avoid the creation of unnecessary local variables
UnnecessaryLocalBeforeReturn (Priority: 1, Ruleset: Code Style)
https://docs.pmd-code.org/snapshot/pmd_rules_java_codestyle.html#unnecessarylocalbeforereturn
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
PMD Report
|
980 Bytes |
sha256:4a90bcd60e8306fc942d411bf126eb85a4a3c4a6290c1d4359fba68ae3c1a1dc
|
|