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


##########
data-index/data-index-storage/data-index-storage-common/src/main/java/org/kie/kogito/index/storage/merger/ProcessInstanceNodeDataEventMerger.java:
##########
@@ -66,13 +63,10 @@ public ProcessInstance merge(ProcessInstance pi, 
ProcessInstanceDataEvent<?> dat
         nodeInstance.setName(body.getNodeName());
         nodeInstance.setType(body.getNodeType());
         switch (body.getEventType()) {
-            case ProcessInstanceNodeEventBody.EVENT_TYPE_ENTER:
+            case EVENT_TYPE_ENTER:
                 nodeInstance.setEnter(toZonedDateTime(body.getEventDate()));
                 break;
-            case ProcessInstanceNodeEventBody.EVENT_TYPE_ERROR:

Review Comment:
   We will do nothing anyway, this case is not really needed



-- 
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