Skip to content

Commit 8dafdea

Browse files
committed
minor comment improvement
1 parent 709dd38 commit 8dafdea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/fasterxml/jackson/databind/deser/std/FactoryBasedEnumDeserializer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ public Object deserialize(JsonParser p, DeserializationContext ctxt) throws IOEx
129129
return deserializeEnumUsingPropertyBased(p, ctxt, _propCreator);
130130
}
131131

132-
//There can be a JSON object passed for deserializing an Enum,
133-
//the below case handles it.
132+
// 30-Mar-2020, tatu: Single-arg delegating creators may go through
133+
// here; although not 100% sure why they do not take the first branch
134134
if (curr == JsonToken.VALUE_STRING || curr == JsonToken.FIELD_NAME) {
135135
value = p.getText();
136136
} else if (curr == JsonToken.VALUE_NUMBER_INT) {

0 commit comments

Comments
 (0)