ML: Remove unneeded and empty lifecycle listener (elastic/x-pack-elasticsearch#3710)

Original commit: elastic/x-pack-elasticsearch@d8d77f4e74
This commit is contained in:
Alexander Reelsen 2018-01-24 16:55:59 +01:00 committed by GitHub
parent 29ece3c79f
commit cee33c0bc8
1 changed files with 0 additions and 6 deletions

View File

@ -38,12 +38,6 @@ class MlInitializationService extends AbstractComponent implements ClusterStateL
this.clusterService = clusterService;
this.client = client;
clusterService.addListener(this);
clusterService.addLifecycleListener(new LifecycleListener() {
@Override
public void beforeStop() {
super.beforeStop();
}
});
}
@Override