abhishekrb19 commented on code in PR #14773:
URL: https://github.com/apache/druid/pull/14773#discussion_r1286445132
##########
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java:
##########
@@ -439,6 +439,13 @@ public void handle()
);
return;
}
+ if (SupervisorStateManager.BasicState.IDLE.equals(getState())) {
Review Comment:
Since supervisor state is an enum, we can use `==` to check for equality:
```suggestion
if (SupervisorStateManager.BasicState.IDLE == getState()) {
```
--
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]