Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 425866167
  • Loading branch information
Googler authored and copybara-github committed Feb 2, 2022
1 parent 378c1a6 commit 3f666c7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
*
Expand Down

0 comments on commit 3f666c7

Please sign in to comment.