mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
use set, because put is deprecated
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user