Fix access
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-01-21 14:31:36 +01:00
parent 51157e81e5
commit 422c993e99
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 2 additions and 2 deletions

View File

@ -1535,7 +1535,7 @@ public class JsonReader implements Closeable {
return getClass().getSimpleName() + locationString();
}
String locationString() {
private String locationString() {
int line = lineNumber + 1;
int column = pos - lineStart + 1;
String charInterjection = pos < buffer.length ? " (char '" + buffer[pos] + "')" : "";

View File

@ -255,7 +255,7 @@ public final class JsonTreeReader extends JsonReader {
return result;
}
JsonElement nextJsonElement() throws IOException {
public JsonElement nextJsonElement() throws IOException {
final JsonToken peeked = peek();
if (peeked == JsonToken.NAME
|| peeked == JsonToken.END_ARRAY