We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 637988f commit 40fd87bCopy full SHA for 40fd87b
core/src/main/java/com/google/googlejavaformat/FormattingError.java
@@ -17,6 +17,7 @@
17
import static java.util.Locale.ENGLISH;
18
19
import com.google.common.base.Function;
20
+import com.google.common.base.Joiner;
21
import com.google.common.collect.ImmutableList;
22
import com.google.common.collect.Iterables;
23
import javax.tools.Diagnostic;
@@ -32,6 +33,7 @@ public FormattingError(FormatterDiagnostic diagnostic) {
32
33
}
34
35
public FormattingError(Iterable<FormatterDiagnostic> diagnostics) {
36
+ super(Joiner.on("\n").join(diagnostics) + "\n");
37
this.diagnostics = ImmutableList.copyOf(diagnostics);
38
39
0 commit comments