cadonna commented on code in PR #12270:
URL: https://github.com/apache/kafka/pull/12270#discussion_r892849907
##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/DefaultStateUpdater.java:
##########
@@ -277,20 +292,6 @@ private void addTaskToRestoredTasks(final StreamTask task)
{
}
}
- enum Action {
- ADD
- }
-
- private static class TaskAndAction {
- public final Task task;
- public final Action action;
-
- public TaskAndAction(final Task task, final Action action) {
- this.task = task;
- this.action = action;
- }
- }
-
Review Comment:
Moved this to a new class to make construction of the object safer.
--
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]