Fix checkstyle violation
See gh-42487
This commit is contained in:
@@ -142,7 +142,9 @@ public class BasicJsonParser extends AbstractJsonParser {
|
||||
case '}' -> inObject--;
|
||||
case '[' -> inList++;
|
||||
case ']' -> inList--;
|
||||
case '"' -> inValue = !inValue;
|
||||
}
|
||||
if (current == '"') {
|
||||
inValue = !inValue;
|
||||
}
|
||||
if (current == ',' && inObject == 0 && inList == 0 && !inValue) {
|
||||
list.add(build.toString());
|
||||
|
||||
Reference in New Issue
Block a user