mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 00:19:21 +08:00
Merge pull request #727 from square/eric.getBuffer
Use BufferedSource.getBuffer().
This commit is contained in:
@@ -94,7 +94,7 @@ final class JsonUtf8Reader extends JsonReader {
|
|||||||
throw new NullPointerException("source == null");
|
throw new NullPointerException("source == null");
|
||||||
}
|
}
|
||||||
this.source = source;
|
this.source = source;
|
||||||
this.buffer = source.buffer();
|
this.buffer = source.getBuffer();
|
||||||
pushScope(JsonScope.EMPTY_DOCUMENT);
|
pushScope(JsonScope.EMPTY_DOCUMENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user