From 66fd2acdcf7d2c4f38afba3595e509df8651f2c5 Mon Sep 17 00:00:00 2001 From: Simon Guerout Date: Mon, 30 Aug 2021 10:33:16 -0400 Subject: [PATCH] Fix formatting --- .../com/google/gson/internal/bind/JsonTreeReader.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gson/src/main/java/com/google/gson/internal/bind/JsonTreeReader.java b/gson/src/main/java/com/google/gson/internal/bind/JsonTreeReader.java index 9c03e8d3..60f4296b 100644 --- a/gson/src/main/java/com/google/gson/internal/bind/JsonTreeReader.java +++ b/gson/src/main/java/com/google/gson/internal/bind/JsonTreeReader.java @@ -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();