Izeren commented on code in PR #26712:
URL: https://github.com/apache/flink/pull/26712#discussion_r2166198583
##########
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/allocator/StateSizeEstimates.java:
##########
@@ -55,8 +54,9 @@ public Optional<Long> estimate(ExecutionVertexID jobVertexId)
{
}
public static StateSizeEstimates fromGraphAndState(
- @NotNull final ExecutionGraph executionGraph,
- @NotNull final CompletedCheckpoint latestCheckpoint) {
+ final ExecutionGraph executionGraph, final CompletedCheckpoint
latestCheckpoint) {
+ Objects.requireNonNull(executionGraph);
+ Objects.requireNonNull(latestCheckpoint);
Review Comment:
https://github.com/apache/flink/pull/26663#pullrequestreview-2939045222
--
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]