Skip to content

Commit 4776813

Browse files
committed
[FLINK-18429][DataStream API] Make CheckpointListener.notifyCheckpointAborted(checkpointId) a default method.
This avoid breaking many user programs that use this interface. This closes apache#12767
1 parent ca53401 commit 4776813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flink-runtime/src/main/java/org/apache/flink/runtime/state/CheckpointListener.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ public interface CheckpointListener {
4545
* @param checkpointId The ID of the checkpoint that has been aborted.
4646
* @throws Exception
4747
*/
48-
void notifyCheckpointAborted(long checkpointId) throws Exception;
48+
default void notifyCheckpointAborted(long checkpointId) throws Exception {};
4949
}

0 commit comments

Comments
 (0)