github-advanced-security[bot] commented on code in PR #16187:
URL: https://github.com/apache/druid/pull/16187#discussion_r1535733776
##########
indexing-service/src/test/java/org/apache/druid/indexing/overlord/TaskQueueTest.java:
##########
@@ -658,111 +516,28 @@
}
}
- private static class SimpleTaskRunner implements TaskRunner
+ private class SimpleTaskRunner extends SingleTaskBackgroundRunner
Review Comment:
## Inner class could be static
SimpleTaskRunner could be made static, since the enclosing instance is used
only in its constructor.
[Show more
details](https://github.com/apache/druid/security/code-scanning/7192)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]