From 3f666c72c27af9905ec0671d7bf78f30424ebab1 Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 2 Feb 2022 06:12:07 -0800 Subject: [PATCH] Automatic code cleanup. PiperOrigin-RevId: 425866167 --- .../com/google/testing/junit/runner/model/XmlWriter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/XmlWriter.java b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/XmlWriter.java index 6dedb458e7bf6d..e46db466d18d94 100644 --- a/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/XmlWriter.java +++ b/src/java_tools/junitrunner/java/com/google/testing/junit/runner/model/XmlWriter.java @@ -47,6 +47,10 @@ public XmlWriter(OutputStream outputStream) { this(new OutputStreamWriter(outputStream, UTF_8)); } + private XmlWriter(Writer writer) { + this.writer = writer; + } + /** * Creates an XML writer for testing purposes. Note that if you decide to * serialize the {@code StringWriter} (to disk or network) encode it in {@code @@ -60,10 +64,6 @@ public static XmlWriter createForTesting(StringWriter writer) { return new XmlWriter(writer); } - private XmlWriter(Writer writer) { - this.writer = writer; - } - /** * Starts the XML document. *