Use BufferedSource.getBuffer().

This commit is contained in:
Eric Cochran
2018-11-02 17:03:45 -07:00
committed by GitHub
parent 9eb142d05b
commit fe7ba863b4

View File

@@ -94,7 +94,7 @@ final class JsonUtf8Reader extends JsonReader {
throw new NullPointerException("source == null");
}
this.source = source;
this.buffer = source.buffer();
this.buffer = source.getBuffer();
pushScope(JsonScope.EMPTY_DOCUMENT);
}