This is an automated email from the ASF dual-hosted git repository. sewen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit e273d8d89fd47d7d83e9e0e6adec5cb5514a334e Author: Yun Tang <myas...@live.com> AuthorDate: Tue Sep 3 20:39:27 2019 +0800 [FLINK-13845][javadocs] Drop references to removed 'Checkpointed' interface This closes #9604 --- .../apache/flink/streaming/api/checkpoint/CheckpointedFunction.java | 1 - .../org/apache/flink/streaming/api/checkpoint/ListCheckpointed.java | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/CheckpointedFunction.java b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/CheckpointedFunction.java index 2c6c569..91bf241 100644 --- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/CheckpointedFunction.java +++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/CheckpointedFunction.java @@ -116,7 +116,6 @@ import org.apache.flink.runtime.state.FunctionSnapshotContext; * <h4>Operator State</h4> * Checkpointing some state that is part of the function object itself is possible in a simpler way * by directly implementing the {@link ListCheckpointed} interface. - * That mechanism is similar to the previously used {@link Checkpointed} interface. * * <h4>Keyed State</h4> * Access to keyed state is possible via the {@link RuntimeContext}'s methods: diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/ListCheckpointed.java b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/ListCheckpointed.java index b789a51..f4cc794 100644 --- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/ListCheckpointed.java +++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/checkpoint/ListCheckpointed.java @@ -27,9 +27,8 @@ import java.io.Serializable; import java.util.List; /** - * This interface can be implemented by functions that want to store state in checkpoints. - * It can be used in a similar way as the deprecated {@link Checkpointed} interface, but - * supports <b>list-style state redistribution</b> for cases when the parallelism of the + * This interface can be implemented by functions that want to store state in checkpoints + * and supports <b>list-style state redistribution</b> for cases when the parallelism of the * transformation is changed. * * <p>Implementing this interface is a shortcut for obtaining the default {@code ListState}