tpalfy commented on a change in pull request #3651: NIFI-6539 Nifi stateless 
init from flow xml
URL: https://github.com/apache/nifi/pull/3651#discussion_r314414819
 
 

 ##########
 File path: 
nifi-stateless/nifi-stateless-core/src/main/java/org/apache/nifi/stateless/core/StatelessFlow.java
 ##########
 @@ -99,6 +122,194 @@ public StatelessFlow(final List<StatelessComponent> 
roots) {
         this.componentFactory = null;
     }
 
+    public StatelessFlow(final ProcessGroupDTO flow, final ExtensionManager 
extensionManager, final VariableRegistry variableRegistry, final List<String> 
failureOutputPorts,
 
 Review comment:
   Both the 2 constructors and the 2 `create...AndEnque...` methods could be 
normalized with a common private method.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to