From 08616ac02a6380b473bc9e2119ab61c0dacc8cd2 Mon Sep 17 00:00:00 2001 From: Roman Khachatryan Date: Tue, 23 Mar 2021 22:22:00 +0100 Subject: [PATCH] [FLINK-21581][core] Remove @PublicEvolving from RuntimeContext.getJobID --- flink-core/pom.xml | 5 ++++- .../apache/flink/api/common/functions/RuntimeContext.java | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/flink-core/pom.xml b/flink-core/pom.xml index 8fa2b22add151..acff5314ae03e 100644 --- a/flink-core/pom.xml +++ b/flink-core/pom.xml @@ -200,7 +200,10 @@ under the License. org.apache.flink.api.common.functions.FoldFunction org.apache.flink.api.common.functions.RichFoldFunction - + + + org.apache.flink.api.common.functions.RuntimeContext#getJobId() + diff --git a/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java b/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java index 89debd0254a72..11c919834fc37 100644 --- a/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java +++ b/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java @@ -63,7 +63,6 @@ public interface RuntimeContext { * standalone collection executor). Note that Job ID can change in particular upon manual * restart. The returned ID should NOT be used for any job management tasks. */ - @PublicEvolving Optional getJobId(); /**