Skip to content

Commit

Permalink
[MINOR UPDATE] replace deprecate method use in jackson
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJian He <[email protected]>
  • Loading branch information
shoothzj committed Apr 21, 2024
1 parent 3feec2e commit 7572e9c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ public abstract class AbstractDynamicBean {

private static volatile ObjectMapper MAPPER;

private ObjectNode objectNode = new ObjectNode(null);
private final ObjectNode objectNode = new ObjectNode(null);

@JsonAnySetter
public void _anySetter(String name, JsonNode value){
objectNode.put(name, value);
objectNode.replace(name, value);
}

@JsonAnyGetter
Expand Down

0 comments on commit 7572e9c

Please sign in to comment.