mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Missing @Override annotations.
This commit is contained in:
@@ -309,7 +309,7 @@ final class BufferedSinkJsonWriter extends JsonWriter {
|
||||
* Ensures all buffered data is written to the underlying {@link Sink}
|
||||
* and flushes that writer.
|
||||
*/
|
||||
public void flush() throws IOException {
|
||||
@Override public void flush() throws IOException {
|
||||
if (stackSize == 0) {
|
||||
throw new IllegalStateException("JsonWriter is closed.");
|
||||
}
|
||||
@@ -321,7 +321,7 @@ final class BufferedSinkJsonWriter extends JsonWriter {
|
||||
*
|
||||
* @throws JsonDataException if the JSON document is incomplete.
|
||||
*/
|
||||
public void close() throws IOException {
|
||||
@Override public void close() throws IOException {
|
||||
sink.close();
|
||||
|
||||
int size = stackSize;
|
||||
|
Reference in New Issue
Block a user