diff --git a/compiler/src/main/java/net/jbock/writing/ImplClass.java b/compiler/src/main/java/net/jbock/writing/ImplClass.java index 51c08473..ea92d321 100644 --- a/compiler/src/main/java/net/jbock/writing/ImplClass.java +++ b/compiler/src/main/java/net/jbock/writing/ImplClass.java @@ -109,7 +109,7 @@ private MethodSpec generateToString() { spec.addAnnotation(Override.class); ParameterSpec joiner = ParameterSpec.builder(StringJoiner.class, "joiner").build(); spec.addStatement("$T $N = new $T($S, $S, $S)", StringJoiner.class, joiner, StringJoiner.class, - ", ", "{", "}"); + ", ", "{ ", " }"); for (int i = 0; i < namedOptions().size(); i++) { Mapping