Explorar o código

Remove unused PersistedClusterStateService#newPersistedClusterStateService (#99671)

William Brafford %!s(int64=2) %!d(string=hai) anos
pai
achega
2197886666

+ 0 - 11
server/src/main/java/org/elasticsearch/plugins/ClusterCoordinationPlugin.java

@@ -77,17 +77,6 @@ public interface ClusterCoordinationPlugin {
     }
 
     interface PersistedClusterStateServiceFactory {
-
-        @Deprecated(forRemoval = true)
-        default PersistedClusterStateService newPersistedClusterStateService(
-            NodeEnvironment nodeEnvironment,
-            NamedXContentRegistry xContentRegistry,
-            ClusterSettings clusterSettings,
-            ThreadPool threadPool
-        ) {
-            throw new AssertionError("Should not be called!");
-        }
-
         PersistedClusterStateService newPersistedClusterStateService(
             NodeEnvironment nodeEnvironment,
             NamedXContentRegistry xContentRegistry,