From a3afe5779203aaaff50384ded3aa2369f47a79f6 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Tue, 18 Aug 2015 10:32:12 -0700 Subject: [PATCH] Fix compile failure from bad merge after renaming of ExtensionPoint.TypeExtensionPoint --- .../repositories/RepositoryTypesRegistry.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/repositories/RepositoryTypesRegistry.java b/core/src/main/java/org/elasticsearch/repositories/RepositoryTypesRegistry.java index e66c79da06f..d2f02aa5795 100644 --- a/core/src/main/java/org/elasticsearch/repositories/RepositoryTypesRegistry.java +++ b/core/src/main/java/org/elasticsearch/repositories/RepositoryTypesRegistry.java @@ -29,10 +29,10 @@ import org.elasticsearch.index.snapshots.IndexShardRepository; */ public class RepositoryTypesRegistry { // invariant: repositories and shardRepositories have the same keyset - private final ExtensionPoint.TypeExtensionPoint repositoryTypes = - new ExtensionPoint.TypeExtensionPoint<>("repository", Repository.class); - private final ExtensionPoint.TypeExtensionPoint shardRepositoryTypes = - new ExtensionPoint.TypeExtensionPoint<>("index_repository", IndexShardRepository.class); + private final ExtensionPoint.SelectedType repositoryTypes = + new ExtensionPoint.SelectedType<>("repository", Repository.class); + private final ExtensionPoint.SelectedType shardRepositoryTypes = + new ExtensionPoint.SelectedType<>("index_repository", IndexShardRepository.class); /** Adds a new repository type to the registry, bound to the given implementation classes. */ public void registerRepository(String name, Class repositoryType, Class shardRepositoryType) {