File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/main/java/org/opensearch/flowframework/workflow Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2323import org .opensearch .threadpool .ThreadPool ;
2424import org .opensearch .transport .client .Client ;
2525
26- import java .util .ArrayList ;
2726import java .util .Collection ;
2827import java .util .Collections ;
2928import java .util .HashMap ;
@@ -132,8 +131,8 @@ public enum WorkflowSteps {
132131 /** Create Index Step */
133132 CREATE_INDEX (
134133 CreateIndexStep .NAME ,
135- new ArrayList <>( CreateIndexStep .REQUIRED_INPUTS ) ,
136- new ArrayList <>( CreateIndexStep .PROVIDED_OUTPUTS ) ,
134+ CreateIndexStep .REQUIRED_INPUTS ,
135+ CreateIndexStep .PROVIDED_OUTPUTS ,
137136 Collections .emptyList (),
138137 null
139138 ),
@@ -153,8 +152,8 @@ public enum WorkflowSteps {
153152 /** Create Connector Step */
154153 CREATE_CONNECTOR (
155154 CreateConnectorStep .NAME ,
156- new ArrayList <>( CreateConnectorStep .REQUIRED_INPUTS ) ,
157- new ArrayList <>( CreateConnectorStep .PROVIDED_OUTPUTS ) ,
155+ CreateConnectorStep .REQUIRED_INPUTS ,
156+ CreateConnectorStep .PROVIDED_OUTPUTS ,
158157 List .of (OPENSEARCH_ML ),
159158 TimeValue .timeValueSeconds (60 )
160159 ),
You can’t perform that action at this time.
0 commit comments