PMD - pull_request #1099
Annotations
1 error and 1 warning
|
All methods are static. Consider adding a private no-args constructor to prevent instantiation.:
examples/powertools-examples-large-messages/tools/src/main/java/software/amazon/lambda/powertools/largemessages/tools/LargeMessageProducer.java#L28
For classes that only have static methods, consider making them utility classes.
Note that this doesn't apply to abstract classes, since their subclasses may
well include non-static methods. Also, if you want this class to be a utility class,
remember to add a private constructor to prevent instantiation.
(Note, that this use was known before PMD 5.1.0 as UseSingleton).
UseUtilityClass (Priority: 1, Ruleset: Design)
https://docs.pmd-code.org/snapshot/pmd_rules_java_design.html#useutilityclass
|
|
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
|
897 Bytes |
sha256:cb3494d674950124aeaa0a23c9ba62e21b282f30c4b5ac9533b4bc2b72d2717a
|
|