SbloodyS commented on code in PR #17956:
URL:
https://github.com/apache/dolphinscheduler/pull/17956#discussion_r2785380345
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/validator/workflow/TriggerWorkflowRequestTransformer.java:
##########
@@ -64,4 +76,30 @@ public TriggerWorkflowDTO transform(WorkflowTriggerRequest
workflowTriggerReques
triggerWorkflowDTO.setWorkflowDefinition(workflowDefinition);
return triggerWorkflowDTO;
}
+
+ private void validateStartParamList(List<Property> startParamList) {
+ if (startParamList == null || startParamList.isEmpty()) {
+ return;
+ }
Review Comment:
```suggestion
if (CollectionUtils.isEmpty(startParamList)) {
return;
}
```
--
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]