You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/09/19 17:25:30 UTC

[GitHub] [dolphinscheduler] github-code-scanning[bot] commented on a diff in pull request #12052: [Feature-11582][api] search task instance by task type

github-code-scanning[bot] commented on code in PR #12052:
URL: https://github.com/apache/dolphinscheduler/pull/12052#discussion_r974501222


##########
dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapperTest.java:
##########
@@ -341,9 +341,9 @@
~        processDefinitionMapper.insert(definition);
         taskInstanceMapper.updateById(task);
 
         List<ExecuteStatusCount> count = taskInstanceMapper.countTaskInstanceStateByProjectCodes(
-                null, null,
-                new Long[]{definition.getProjectCode()});
+            null, null,
+            new Long[] {definition.getProjectCode()});

Review Comment:
   ## Unread local variable
   
   Variable 'List<ExecuteStatusCount> count' is never read.
   
   [Show more details](https://github.com/apache/dolphinscheduler/security/code-scanning/1467)



-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org