Missing @Override annotations.

This commit is contained in:
Jake Wharton
2016-01-21 11:15:34 -05:00
parent b8e6dc403e
commit dc154c733a

View File

@@ -309,7 +309,7 @@ final class BufferedSinkJsonWriter extends JsonWriter {
* Ensures all buffered data is written to the underlying {@link Sink} * Ensures all buffered data is written to the underlying {@link Sink}
* and flushes that writer. * and flushes that writer.
*/ */
public void flush() throws IOException { @Override public void flush() throws IOException {
if (stackSize == 0) { if (stackSize == 0) {
throw new IllegalStateException("JsonWriter is closed."); throw new IllegalStateException("JsonWriter is closed.");
} }
@@ -321,7 +321,7 @@ final class BufferedSinkJsonWriter extends JsonWriter {
* *
* @throws JsonDataException if the JSON document is incomplete. * @throws JsonDataException if the JSON document is incomplete.
*/ */
public void close() throws IOException { @Override public void close() throws IOException {
sink.close(); sink.close();
int size = stackSize; int size = stackSize;