Skip to content

Commit

Permalink
[FLINK-18429][DataStream API] Make CheckpointListener.notifyCheckpoin…
Browse files Browse the repository at this point in the history
…tAborted(checkpointId) a default method.

This avoid breaking many user programs that use this interface.

This closes apache#12767
  • Loading branch information
StephanEwen committed Jun 24, 2020
1 parent ca53401 commit 4776813
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ public interface CheckpointListener {
* @param checkpointId The ID of the checkpoint that has been aborted.
* @throws Exception
*/
void notifyCheckpointAborted(long checkpointId) throws Exception;
default void notifyCheckpointAborted(long checkpointId) throws Exception {};
}

0 comments on commit 4776813

Please sign in to comment.