Browse Source

Remove unused PersistedClusterStateService#newPersistedClusterStateService (#99671)

William Brafford 2 years ago
parent
commit
2197886666

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

@@ -77,17 +77,6 @@ public interface ClusterCoordinationPlugin {
     }
     }
 
 
     interface PersistedClusterStateServiceFactory {
     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(
         PersistedClusterStateService newPersistedClusterStateService(
             NodeEnvironment nodeEnvironment,
             NodeEnvironment nodeEnvironment,
             NamedXContentRegistry xContentRegistry,
             NamedXContentRegistry xContentRegistry,