Skip to content

Commit bdde9dd

Browse files
committed
docs(yaml): add javadoc for constructors
1 parent 4cf36b4 commit bdde9dd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

format/yaml/src/main/java/com/github/siroshun09/configapi/format/yaml/comment/YamlBlockComment.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ public record YamlBlockComment(@NotNull String content, int prependBlankLines) i
3434
*/
3535
public static final String TYPE = "block";
3636

37+
/**
38+
* @param content the content of the comment
39+
* @param prependBlankLines the number of blank lines before the block comments
40+
*/
3741
public YamlBlockComment {
3842
Objects.requireNonNull(content);
3943
if (prependBlankLines < 0) {

format/yaml/src/main/java/com/github/siroshun09/configapi/format/yaml/comment/YamlInlineComment.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public record YamlInlineComment(@NotNull String content) implements SimpleCommen
3333
*/
3434
public static final String TYPE = "inline";
3535

36+
/**
37+
* @param content the content of the comment
38+
*/
3639
public YamlInlineComment {
3740
Objects.requireNonNull(content);
3841
}

0 commit comments

Comments
 (0)