Fix formatting
This commit is contained in:
parent
ac14b4c197
commit
66fd2acdcf
@ -251,12 +251,10 @@ public final class JsonTreeReader extends JsonReader {
|
||||
|
||||
JsonElement nextJsonElement() throws IOException {
|
||||
final JsonToken peeked = peek();
|
||||
if (
|
||||
peeked == JsonToken.NAME
|
||||
|| peeked == JsonToken.END_ARRAY
|
||||
|| peeked == JsonToken.END_OBJECT
|
||||
|| peeked == JsonToken.END_DOCUMENT
|
||||
) {
|
||||
if (peeked == JsonToken.NAME
|
||||
|| peeked == JsonToken.END_ARRAY
|
||||
|| peeked == JsonToken.END_OBJECT
|
||||
|| peeked == JsonToken.END_DOCUMENT) {
|
||||
throw new IllegalStateException("Unexpected " + peeked + " when reading a JsonElement.");
|
||||
}
|
||||
final JsonElement element = (JsonElement) peekStack();
|
||||
|
Loading…
Reference in New Issue
Block a user