This is an automated email from the ASF dual-hosted git repository.

mapohl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 79356ccd010f1fb29b72300c143cce37fea3301f
Author: 1996fanrui <[email protected]>
AuthorDate: Mon Aug 14 01:02:37 2023 +0800

    [hotfix][scheduler] Remove the unused method and add the @Nullable inside 
the WaitingForResources
---
 .../flink/runtime/scheduler/adaptive/WaitingForResources.java      | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git 
a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/WaitingForResources.java
 
b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/WaitingForResources.java
index 10eb79d3709..434b0741a28 100644
--- 
a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/WaitingForResources.java
+++ 
b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/WaitingForResources.java
@@ -237,7 +237,7 @@ class WaitingForResources implements State, 
ResourceListener {
                 Logger log,
                 Duration initialResourceAllocationTimeout,
                 Duration resourceStabilizationTimeout,
-                ExecutionGraph previousExecutionGraph) {
+                @Nullable ExecutionGraph previousExecutionGraph) {
             this.context = context;
             this.log = log;
             this.initialResourceAllocationTimeout = 
initialResourceAllocationTimeout;
@@ -259,9 +259,4 @@ class WaitingForResources implements State, 
ResourceListener {
                     previousExecutionGraph);
         }
     }
-
-    @Nullable
-    public ExecutionGraph getPreviousExecutionGraph() {
-        return previousExecutionGraph;
-    }
 }

Reply via email to