SnowMoon-Dev commented on code in PR #10201:
URL: https://github.com/apache/dolphinscheduler/pull/10201#discussion_r879232164


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/controller/ProcessDefinitionController.java:
##########
@@ -637,25 +637,25 @@ public Result 
batchDeleteProcessDefinitionByCodes(@ApiIgnore @RequestAttribute(v
                                                       @ApiParam(name = 
"projectCode", value = "PROJECT_CODE", required = true) @PathVariable long 
projectCode,
                                                       @RequestParam("codes") 
String codes) {
         Map<String, Object> result = new HashMap<>();
-        List<String> deleteFailedCodeList = new ArrayList<>();
+        Set<String> deleteFailedCodeSet = new HashSet<>();

Review Comment:
   Good idea, I'll add this description to the documentation later



-- 
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]

Reply via email to