PMD - pull_request #553
Annotations
2 errors
|
This class has only private constructors and may be final:
powertools-validation/src/main/java/software/amazon/lambda/powertools/validation/ValidationConfig.java#L135
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
|
|
This class has only private constructors and may be final:
powertools-validation/src/main/java/software/amazon/lambda/powertools/validation/ValidationConfig.java#L39
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
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
PMD Report
|
828 Bytes |
sha256:bda0b44e0b66e535d3ec88b30a8fc8ad7750c25d64abe210ba9234f971d00f33
|
|