diff options
| author | 2018-10-03 16:52:26 -0700 | |
|---|---|---|
| committer | 2018-10-03 16:52:26 -0700 | |
| commit | 434a0a537011d24d93b0ea387483368bff161a9e (patch) | |
| tree | 97c46fbe0a8a431978b8f9ec2fa2683dc20efaa9 | |
| parent | 0ab35f0ffc6d7057a7a4f6e4e875e945412e528a (diff) | |
| parent | 2cb96ab8a1a92fdc5ac65be5f15fe1241bb87873 (diff) | |
docs: bug 37077993, object instead of array
am: 2cb96ab8a1
Change-Id: I527d10e66525810bda0083bed92f4b31ae13bcb9
| -rw-r--r-- | core/java/android/util/JsonReader.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/util/JsonReader.java b/core/java/android/util/JsonReader.java index 7d1c6c4918db..50f63f8db304 100644 --- a/core/java/android/util/JsonReader.java +++ b/core/java/android/util/JsonReader.java @@ -16,13 +16,15 @@ package android.util; +import libcore.internal.StringPool; + import java.io.Closeable; import java.io.EOFException; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.List; -import libcore.internal.StringPool; + /** * Reads a JSON (<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>) @@ -295,7 +297,7 @@ public final class JsonReader implements Closeable { /** * Consumes the next token from the JSON stream and asserts that it is the - * end of the current array. + * end of the current object. */ public void endObject() throws IOException { expect(JsonToken.END_OBJECT); |