Fix compile failure from bad merge after renaming of
ExtensionPoint.TypeExtensionPoint
This commit is contained in:
parent
7db253bbce
commit
a3afe57792
|
@ -29,10 +29,10 @@ import org.elasticsearch.index.snapshots.IndexShardRepository;
|
||||||
*/
|
*/
|
||||||
public class RepositoryTypesRegistry {
|
public class RepositoryTypesRegistry {
|
||||||
// invariant: repositories and shardRepositories have the same keyset
|
// invariant: repositories and shardRepositories have the same keyset
|
||||||
private final ExtensionPoint.TypeExtensionPoint<Repository> repositoryTypes =
|
private final ExtensionPoint.SelectedType<Repository> repositoryTypes =
|
||||||
new ExtensionPoint.TypeExtensionPoint<>("repository", Repository.class);
|
new ExtensionPoint.SelectedType<>("repository", Repository.class);
|
||||||
private final ExtensionPoint.TypeExtensionPoint<IndexShardRepository> shardRepositoryTypes =
|
private final ExtensionPoint.SelectedType<IndexShardRepository> shardRepositoryTypes =
|
||||||
new ExtensionPoint.TypeExtensionPoint<>("index_repository", IndexShardRepository.class);
|
new ExtensionPoint.SelectedType<>("index_repository", IndexShardRepository.class);
|
||||||
|
|
||||||
/** Adds a new repository type to the registry, bound to the given implementation classes. */
|
/** 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) {
|
public void registerRepository(String name, Class<? extends Repository> repositoryType, Class<? extends IndexShardRepository> shardRepositoryType) {
|
||||||
|
|
Loading…
Reference in New Issue