Fix compile failure from bad merge after renaming of

ExtensionPoint.TypeExtensionPoint
This commit is contained in:
Ryan Ernst 2015-08-18 10:32:12 -07:00
parent 7db253bbce
commit a3afe57792
1 changed files with 4 additions and 4 deletions

View File

@ -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<Repository> repositoryTypes =
new ExtensionPoint.TypeExtensionPoint<>("repository", Repository.class);
private final ExtensionPoint.TypeExtensionPoint<IndexShardRepository> shardRepositoryTypes =
new ExtensionPoint.TypeExtensionPoint<>("index_repository", IndexShardRepository.class);
private final ExtensionPoint.SelectedType<Repository> repositoryTypes =
new ExtensionPoint.SelectedType<>("repository", Repository.class);
private final ExtensionPoint.SelectedType<IndexShardRepository> 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<? extends Repository> repositoryType, Class<? extends IndexShardRepository> shardRepositoryType) {