diff options
| author | 2018-10-03 14:10:27 -0700 | |
|---|---|---|
| committer | 2018-10-03 14:14:13 -0700 | |
| commit | 2cb96ab8a1a92fdc5ac65be5f15fe1241bb87873 (patch) | |
| tree | a981f97e332317430f66b4eb333d7b9bab161bc5 | |
| parent | 3fbe56647cab174d4d78ee5d81c36a0dcdd6ea20 (diff) | |
docs: bug 37077993, object instead of array
also fixing import order to get past repo hooks
Test: make ds-docs
Bug: 37077993
Change-Id: I0a0d6338f714108eb632caacc6dda4b422dc697b
Exempt-From-Owner-Approval: Docs-only change
| -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); |