github-code-scanning[bot] commented on code in PR #13284:
URL:
https://github.com/apache/dolphinscheduler/pull/13284#discussion_r1057778111
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessInstanceService.java:
##########
@@ -82,18 +83,18 @@
* @param otherParamsJson otherParamsJson handle other params
* @return process instance list
*/
- Result queryProcessInstanceList(User loginUser,
- long projectCode,
- long processDefineCode,
- String startDate,
- String endDate,
- String searchVal,
- String executorName,
- WorkflowExecutionStatus stateType,
- String host,
- String otherParamsJson,
- Integer pageNo,
- Integer pageSize);
+ Result<PageInfo<ProcessInstance>> queryProcessInstanceList(User loginUser,
+ long
projectCode,
+ long
processDefineCode,
+ String
startDate,
+ String endDate,
+ String
searchVal,
+ String
executorName,
+
WorkflowExecutionStatus stateType,
+ String host,
+ String
otherParamsJson,
Review Comment:
## Useless parameter
The parameter 'otherParamsJson' is never used.
[Show more
details](https://github.com/apache/dolphinscheduler/security/code-scanning/2443)
--
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]