change public to prv
This commit is contained in:
parent
1d8733e55a
commit
b74e5dfc45
@ -201,7 +201,7 @@ public abstract class TbAbstractGetAttributesNode<C extends TbGetAttributesNodeC
|
|||||||
return prefix;
|
return prefix;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void addKvEntryToJson(ObjectNode entityNode, KvEntry kvEntry, String key) {
|
private static void addKvEntryToJson(ObjectNode entityNode, KvEntry kvEntry, String key) {
|
||||||
if (kvEntry.getDataType() == DataType.BOOLEAN) {
|
if (kvEntry.getDataType() == DataType.BOOLEAN) {
|
||||||
kvEntry.getBooleanValue().ifPresent(value -> entityNode.put(key, value));
|
kvEntry.getBooleanValue().ifPresent(value -> entityNode.put(key, value));
|
||||||
} else if (kvEntry.getDataType() == DataType.DOUBLE) {
|
} else if (kvEntry.getDataType() == DataType.DOUBLE) {
|
||||||
@ -217,7 +217,7 @@ public abstract class TbAbstractGetAttributesNode<C extends TbGetAttributesNodeC
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static JsonNode toJsonNode(String value) {
|
private static JsonNode toJsonNode(String value) {
|
||||||
try {
|
try {
|
||||||
return mapper.readTree(value);
|
return mapper.readTree(value);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user