Merge pull request #853 from Baschdl/patch-1

Corrected documentation, copy&paste error
This commit is contained in:
Jake Wharton 2016-05-12 08:57:34 -07:00
commit 0f80936ecd

View File

@ -719,7 +719,7 @@ public final class Gson {
} }
/** /**
* Returns a new JSON writer configured for the settings on this Gson instance. * Returns a new JSON reader configured for the settings on this Gson instance.
*/ */
public JsonReader newJsonReader(Reader reader) { public JsonReader newJsonReader(Reader reader) {
JsonReader jsonReader = new JsonReader(reader); JsonReader jsonReader = new JsonReader(reader);