Skip to content

Commit

Permalink
Fix misleading comment (#4059)
Browse files Browse the repository at this point in the history
  • Loading branch information
JooHyukKim committed Jul 27, 2023
1 parent 166ce08 commit 02b8ea8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3521,7 +3521,7 @@ public <T extends JsonNode> T valueToTree(Object fromValue)

// inlined 'writeValue' with minor changes:
// first: disable wrapping when writing
// [databind#4047] ObjectMapper.valueToTree will ignore the configuration SerializationFeature.WRAP_ROOT_VALUE
// [databind#4047] Fixes `SerializationFeature.WRAP_ROOT_VALUE` being ignored
final SerializationConfig config = getSerializationConfig();
final DefaultSerializerProvider context = _serializerProvider(config);

Expand Down

0 comments on commit 02b8ea8

Please sign in to comment.