PMD - pull_request #1088
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
Expired
|
897 Bytes |
sha256:8bc5804a3de5a5750724dc64c200d3ac5e8679493f906e9c78e0711d7133d3a0
|
|