From c4d5cf660d9599eb01b3b5eb02a4aaed3280a87d Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 12 Jan 2017 16:56:30 +0100 Subject: [PATCH] Revert "fixed compile error due upstream changed" This reverts commit elastic/x-pack@54d8aeadec8d3c812155c773ed366208a4e4311b. Original commit: elastic/x-pack-elasticsearch@8846dc4ca5a57d107608a9732348262bd6cac2ef --- .../src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/elasticsearch/src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java b/elasticsearch/src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java index 281b0976156..51d60127f54 100644 --- a/elasticsearch/src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java +++ b/elasticsearch/src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java @@ -25,7 +25,6 @@ import org.elasticsearch.plugins.ActionPlugin; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.rest.RestHandler; import org.elasticsearch.script.ScriptService; -import org.elasticsearch.search.SearchRequestParsers; import org.elasticsearch.tasks.TaskManager; import org.elasticsearch.threadpool.ExecutorBuilder; import org.elasticsearch.threadpool.FixedExecutorBuilder; @@ -175,8 +174,7 @@ public class MlPlugin extends Plugin implements ActionPlugin { @Override public Collection createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, - ResourceWatcherService resourceWatcherService, - ScriptService scriptService, SearchRequestParsers searchRequestParsers, + ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry) { JobResultsPersister jobResultsPersister = new JobResultsPersister(settings, client); JobProvider jobProvider = new JobProvider(client, 0, parseFieldMatcherSupplier.getParseFieldMatcher());