aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2022-09-07 17:52:52 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-07 17:52:52 +0000
commitee035b7de98a116adbe248409a2fa6faf1f03f56 (patch)
tree13e35947426120d28a7ce9b7b721c3048bd5b32e
parent82ff67bcf139d1aaf665c3caa0ba1b1daa59e313 (diff)
parent76c38f09e566b09c9879bdd624b6919b6840beed (diff)
Merge "Fix bug in json schema helper" into honolulu
-rw-r--r--plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java
index 4896e5d4a..02aea150c 100644
--- a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java
+++ b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java
@@ -117,6 +117,6 @@ public class JsonSchemaHelper extends AbstractSchemaHelper {
* @return true if it's a straight pass through
*/
private boolean passThroughObject(final Object object) {
- return (object instanceof JsonElement || object instanceof Map || object instanceof List);
+ return (object instanceof Map || object instanceof List);
}
}