fjtirado commented on code in PR #1991:
URL: 
https://github.com/apache/incubator-kie-kogito-apps/pull/1991#discussion_r1492743730


##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/json/JsonUtils.java:
##########
@@ -50,4 +54,20 @@ public static ObjectMapper configure(ObjectMapper 
objectMapper) {
         objectMapper.registerModule(module);
         return objectMapper;
     }
+
+    public static ObjectNode mergeVariable(String variableName, Object 
variableValue, ObjectNode variables) {
+        return (ObjectNode) MergeUtils.merge(getObjectNode(variableName, 
variableValue), variables);
+    }
+
+    private static ObjectNode getObjectNode(String variableName, Object 
variableValue) {

Review Comment:
   yes, you are right



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to