Skip to content

Commit 77e01d1

Browse files
committed
Make the formatJavadoc option public.
Right now the formatJavadoc option in the JavaFormatterOptions isn't tag as either public or private so it gets the default package private scope. This change makes it public so other projects using this as a dependency can change this option.
1 parent 062e5d2 commit 77e01d1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/main/java/com/google/googlejavaformat/java/JavaFormatterOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public int indentationMultiplier() {
6060
return style.indentationMultiplier();
6161
}
6262

63-
boolean formatJavadoc() {
63+
public boolean formatJavadoc() {
6464
return formatJavadoc;
6565
}
6666

@@ -91,7 +91,7 @@ public Builder style(Style style) {
9191
return this;
9292
}
9393

94-
Builder formatJavadoc(boolean formatJavadoc) {
94+
public Builder formatJavadoc(boolean formatJavadoc) {
9595
this.formatJavadoc = formatJavadoc;
9696
return this;
9797
}

0 commit comments

Comments
 (0)