use set, because put is deprecated

This commit is contained in:
Sebastian Sdorra
2018-10-02 07:45:28 +02:00
parent 1d5e0bdbc2
commit de0247e60f

View File

@@ -35,6 +35,6 @@ public abstract class JsonEnricherBase implements JsonEnricher {
}
protected void addPropertyNode(JsonNode parent, String newKey, JsonNode child) {
((ObjectNode) parent).put(newKey, child);
((ObjectNode) parent).set(newKey, child);
}
}