Ver código fonte

Fix changed class name after bad merge, see #12921

Ryan Ernst 10 anos atrás
pai
commit
75ced057ed

+ 2 - 2
core/src/main/java/org/elasticsearch/index/cache/IndexCacheModule.java

@@ -36,11 +36,11 @@ public class IndexCacheModule extends AbstractModule {
     public static final String QUERY_CACHE_EVERYTHING = "index.queries.cache.everything";
 
     private final Settings indexSettings;
-    private final ExtensionPoint.TypeExtensionPoint<QueryCache> queryCaches;
+    private final ExtensionPoint.SelectedType<QueryCache> queryCaches;
 
     public IndexCacheModule(Settings settings) {
         this.indexSettings = settings;
-        this.queryCaches = new ExtensionPoint.TypeExtensionPoint<>("query_cache", QueryCache.class);
+        this.queryCaches = new ExtensionPoint.SelectedType<>("query_cache", QueryCache.class);
 
         registerQueryCache(INDEX_QUERY_CACHE, IndexQueryCache.class);
         registerQueryCache(NONE_QUERY_CACHE, NoneQueryCache.class);