davidradl commented on code in PR #26981:
URL: https://github.com/apache/flink/pull/26981#discussion_r2343607037


##########
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/Finished.java:
##########
@@ -34,13 +35,21 @@ class Finished implements State {
 
     private final Logger logger;
 
+    private final Durable durable;
+
     Finished(Context context, ArchivedExecutionGraph archivedExecutionGraph, 
Logger logger) {
         this.archivedExecutionGraph = archivedExecutionGraph;
         this.logger = logger;
+        this.durable = new Durable();
 
         context.onFinished(archivedExecutionGraph);
     }
 
+    @Override
+    public Durable getDurable() {
+        return durable;

Review Comment:
   Can we not just have: 
   
   ```
   public Durable getDurable() {
           return new Durable();
   ```



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

Reply via email to