-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
In org.simpleyaml.configuration.comments.format.YamlCommentFormatter's first constructor, There are two nullity checks using Validate.notNull, but they both check the same object:
public YamlCommentFormatter(final YamlCommentFormatterConfiguration blockFormatter, final YamlSideCommentFormatterConfiguration sideFormatter) {
Validate.notNull(blockFormatter, "blockFormatter configuration cannot be null!");
> Validate.notNull(blockFormatter, "sideFormatter configuration cannot be null!");
this.blockFormatter = blockFormatter;
this.sideFormatter = sideFormatter;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels