AHeise commented on a change in pull request #17019: URL: https://github.com/apache/flink/pull/17019#discussion_r698393164
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamOperatorStateContext.java ########## @@ -31,9 +31,17 @@ public interface StreamOperatorStateContext { /** - * Returns true, the states provided by this context are restored from a checkpoint/savepoint. + * Returns true if the states provided by this context are restored from a checkpoint/savepoint. */ - boolean isRestored(); + default boolean isRestored() { Review comment: This class is rather semi-public, so the benefit is rather small, while maintaining an additional interface is a liability. So I'd rather skip it. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org