[#4868] Default to two spaces in Scala
This commit is contained in:
parent
e5b2ed300e
commit
a2eb9d5720
@ -43,6 +43,11 @@ public class JavaWriter extends GeneratorWriter<JavaWriter> {
|
||||
this.isJava = file.getName().endsWith(".java");
|
||||
this.isScala = file.getName().endsWith(".scala");
|
||||
this.fullyQualifiedTypes = fullyQualifiedTypes == null ? null : Pattern.compile(fullyQualifiedTypes);
|
||||
|
||||
if (isJava)
|
||||
tabString(" ");
|
||||
else if (isScala)
|
||||
tabString(" ");
|
||||
}
|
||||
|
||||
public JavaWriter print(Class<?> clazz) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user