tang7526 commented on a change in pull request #11017:
URL: https://github.com/apache/kafka/pull/11017#discussion_r667512077
##########
File path:
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamThread.java
##########
@@ -246,12 +246,12 @@ State setState(final State newState) {
public boolean isRunning() {
synchronized (stateLock) {
- return getIsAlive();
+ return isStateAlive();
}
}
- //For KafkaStreamTest
- public boolean getIsAlive() {
+ //Ensure Mockito can stub method for KafkaStreamTest.
Review comment:
Could you add a space between // and Ensure?
--
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]