cadonna commented on code in PR #13927:
URL: https://github.com/apache/kafka/pull/13927#discussion_r1246572219


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/TaskManager.java:
##########
@@ -1881,15 +1915,11 @@ public static void executeAndMaybeSwallow(final boolean 
clean,
     }
 
     boolean needsInitializationOrRestoration() {
-        return 
activeTaskIterable().stream().anyMatch(Task::needsInitializationOrRestoration);
+        return 
activeTaskStream().anyMatch(Task::needsInitializationOrRestoration);
     }
 
     // for testing only
     void addTask(final Task task) {
         tasks.addTask(task);
     }
-
-    TasksRegistry tasks() {
-        return tasks;
-    }

Review Comment:
   Never used.



-- 
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

Reply via email to