PMD - pull_request #535
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:cb4c6842d2db8be1cc1cdc1c5f4b9a131eb1b0bf3a9049a23d06df5d1e1d0f81
|
|