cadonna commented on code in PR #18963: URL: https://github.com/apache/kafka/pull/18963#discussion_r1971354797
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdater.java: ########## @@ -885,7 +885,8 @@ public Set<StreamTask> drainRestoredActiveTasks(final Duration timeout) { restoredActiveTasksLock.lock(); try { while (restoredActiveTasks.isEmpty() && now <= deadline) { - final boolean elapsed = restoredActiveTasksCondition.await(deadline - now, TimeUnit.MILLISECONDS); + @SuppressWarnings("UnusedLocalVariable") + final boolean ignored = restoredActiveTasksCondition.await(deadline - now, TimeUnit.MILLISECONDS); Review Comment: Yeah, @lucasbru got it right. Avoiding the flag by IntelliJ was the reason I added that variable. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org