Fix access
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
51157e81e5
commit
422c993e99
|
@ -1535,7 +1535,7 @@ public class JsonReader implements Closeable {
|
||||||
return getClass().getSimpleName() + locationString();
|
return getClass().getSimpleName() + locationString();
|
||||||
}
|
}
|
||||||
|
|
||||||
String locationString() {
|
private String locationString() {
|
||||||
int line = lineNumber + 1;
|
int line = lineNumber + 1;
|
||||||
int column = pos - lineStart + 1;
|
int column = pos - lineStart + 1;
|
||||||
String charInterjection = pos < buffer.length ? " (char '" + buffer[pos] + "')" : "";
|
String charInterjection = pos < buffer.length ? " (char '" + buffer[pos] + "')" : "";
|
||||||
|
|
|
@ -255,7 +255,7 @@ public final class JsonTreeReader extends JsonReader {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
JsonElement nextJsonElement() throws IOException {
|
public JsonElement nextJsonElement() throws IOException {
|
||||||
final JsonToken peeked = peek();
|
final JsonToken peeked = peek();
|
||||||
if (peeked == JsonToken.NAME
|
if (peeked == JsonToken.NAME
|
||||||
|| peeked == JsonToken.END_ARRAY
|
|| peeked == JsonToken.END_ARRAY
|
||||||
|
|
Loading…
Reference in New Issue