Skip to content

Commit 79356cc

Browse files
1996fanruiXComp
authored andcommitted
[hotfix][scheduler] Remove the unused method and add the @nullable inside the WaitingForResources
1 parent 582457c commit 79356cc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/WaitingForResources.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public Factory(
237237
Logger log,
238238
Duration initialResourceAllocationTimeout,
239239
Duration resourceStabilizationTimeout,
240-
ExecutionGraph previousExecutionGraph) {
240+
@Nullable ExecutionGraph previousExecutionGraph) {
241241
this.context = context;
242242
this.log = log;
243243
this.initialResourceAllocationTimeout = initialResourceAllocationTimeout;
@@ -259,9 +259,4 @@ public WaitingForResources getState() {
259259
previousExecutionGraph);
260260
}
261261
}
262-
263-
@Nullable
264-
public ExecutionGraph getPreviousExecutionGraph() {
265-
return previousExecutionGraph;
266-
}
267262
}

0 commit comments

Comments
 (0)