martinweiler commented on code in PR #6888:
URL: https://github.com/apache/incubator-kie/pull/6888#discussion_r3831674468
##########
kogito-jbpm/jbpm-flow-builder/src/main/java/org/jbpm/compiler/canonical/ProcessVisitor.java:
##########
@@ -230,7 +247,24 @@ private <U extends org.kie.api.definition.process.Node>
void visitNodes(List<U>
if (visitor == null) {
throw new IllegalStateException("No visitor found for node " +
node.getClass().getName());
}
- visitor.visitNodeEntryPoint(null, node, body, variableScope,
metadata);
+
+ BlockStmt nodeBody = new BlockStmt();
+ visitor.visitNodeEntryPoint(null, node, nodeBody, variableScope,
metadata);
Review Comment:
This seems to be a valid concern that we should try to address @josedee
--
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]