Removed duplicated registration of warmers as custom metadata type
Already done in a static block within IndexMetaData
This commit is contained in:
parent
b18ae14555
commit
1ef3a4a868
|
@ -43,10 +43,6 @@ public class IndexWarmersMetaData implements IndexMetaData.Custom {
|
||||||
|
|
||||||
public static final Factory FACTORY = new Factory();
|
public static final Factory FACTORY = new Factory();
|
||||||
|
|
||||||
static {
|
|
||||||
IndexMetaData.registerFactory(TYPE, FACTORY);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static class Entry {
|
public static class Entry {
|
||||||
private final String name;
|
private final String name;
|
||||||
private final String[] types;
|
private final String[] types;
|
||||||
|
|
Loading…
Reference in New Issue