Skip to content

Commit 6394c51

Browse files
pjfanningcowtowncoder
authored andcommitted
Update JsonValueDeserializer.java
1 parent 01d218b commit 6394c51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jakarta-jsonp/src/main/java/com/fasterxml/jackson/datatype/jsonp/JsonValueDeserializer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,16 @@ protected JsonValue _deserializeScalar(JsonParser p, DeserializationContext ctxt
230230
return b.add(p.getBigIntegerValue()).build().get(0);
231231
}
232232
}
233-
case VALUE_STRING:
234-
return _builderFactory.createArrayBuilder().add(p.getText()).build().get(0);
235-
default: // errors, should never get here
233+
case VALUE_STRING:
234+
return _builderFactory.createArrayBuilder().add(p.getText()).build().get(0);
235+
default: // errors, should never get here
236236
// case END_ARRAY:
237237
// case END_OBJECT:
238238
// case FIELD_NAME:
239239
// case NOT_AVAILABLE:
240240
// case START_ARRAY:
241241
// case START_OBJECT:
242-
return (JsonValue) ctxt.handleUnexpectedToken(getValueType(ctxt), p);
242+
return (JsonValue) ctxt.handleUnexpectedToken(getValueType(ctxt), p);
243243
}
244244
}
245245
}

0 commit comments

Comments
 (0)