diff options
author | Dan Timoney <dtimoney@att.com> | 2019-08-27 21:02:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-27 21:02:54 +0000 |
commit | 49df3104ad130b17d5c8ba1df0d436386662c922 (patch) | |
tree | 0d87bf1548598c6daf2922a410a5608f03a1a8b9 | |
parent | 0f439087dec9680c3564d2639de39cd04436f38e (diff) | |
parent | 359e2a243b5586c2d844b5053279c4569343c5fe (diff) |
Merge "allow null type for primitives"
-rw-r--r-- | ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/utils/JacksonUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/utils/JacksonUtils.kt b/ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/utils/JacksonUtils.kt index 23b0a1758..1f1345327 100644 --- a/ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/utils/JacksonUtils.kt +++ b/ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/utils/JacksonUtils.kt @@ -287,7 +287,7 @@ class JacksonUtils { } } - fun populateJsonNodeValues(key: String, nodeValue: JsonNode, type: String, objectNode: ObjectNode) { + fun populateJsonNodeValues(key: String, nodeValue: JsonNode?, type: String, objectNode: ObjectNode) { if (nodeValue == null || nodeValue is NullNode) { objectNode.set(key, nodeValue) } else if (BluePrintTypes.validPrimitiveTypes().contains(type)) { |