github-advanced-security[bot] commented on code in PR #16162:
URL: https://github.com/apache/druid/pull/16162#discussion_r1577620874
##########
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java:
##########
@@ -178,7 +178,8 @@
* time, there should only be up to a maximum of [taskCount]
actively-reading task groups (tracked in the [activelyReadingTaskGroups]
* map) + zero or more pending-completion task groups (tracked in
[pendingCompletionTaskGroups]).
*/
- private class TaskGroup
+ @VisibleForTesting
+ public class TaskGroup
Review Comment:
## Inner class could be static
TaskGroup 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/7309)
--
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]