josedee commented on code in PR #6888:
URL: https://github.com/apache/incubator-kie/pull/6888#discussion_r3830453268
##########
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:
That's something not covered as of now. Only the parent nodes have
individual methods. The question is whether do we need to have individual
methods for subprocesses as well.
--
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]