This is an automated email from the ASF dual-hosted git repository.

ron pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 952d21f8f804c50b83755c5626250e9c7a494ba4
Author: xuyang <xyzhong...@163.com>
AuthorDate: Wed Jan 8 17:19:47 2025 +0800

    [FLINK-36478][table] Remove deprecated methods 
EnvironmentSettings#fromConfiguration and EnvironmentSettings#toConfiguration
    
    Co-authored-by: corgy-w <corg...@qq.com>
---
 .../flink/table/api/EnvironmentSettings.java       | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git 
a/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/EnvironmentSettings.java
 
b/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/EnvironmentSettings.java
index 3d0d9620fcb..ee81225db38 100644
--- 
a/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/EnvironmentSettings.java
+++ 
b/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/EnvironmentSettings.java
@@ -21,7 +21,6 @@ package org.apache.flink.table.api;
 import org.apache.flink.annotation.Internal;
 import org.apache.flink.annotation.PublicEvolving;
 import org.apache.flink.configuration.Configuration;
-import org.apache.flink.configuration.ReadableConfig;
 import org.apache.flink.table.api.config.TableConfigOptions;
 import org.apache.flink.table.catalog.CatalogStore;
 import org.apache.flink.table.functions.UserDefinedFunction;
@@ -105,27 +104,6 @@ public class EnvironmentSettings {
         return new Builder();
     }
 
-    /**
-     * Creates an instance of {@link EnvironmentSettings} from configuration.
-     *
-     * @deprecated use {@link Builder#withConfiguration(Configuration)} 
instead.
-     */
-    @Deprecated
-    public static EnvironmentSettings fromConfiguration(ReadableConfig 
configuration) {
-        return new EnvironmentSettings(
-                (Configuration) configuration, 
Thread.currentThread().getContextClassLoader());
-    }
-
-    /**
-     * Convert the environment setting to the {@link Configuration}.
-     *
-     * @deprecated use {@link #getConfiguration} instead.
-     */
-    @Deprecated
-    public Configuration toConfiguration() {
-        return configuration;
-    }
-
     /** Get the underlying {@link Configuration}. */
     public Configuration getConfiguration() {
         return configuration;

Reply via email to