From 7b25e7d9edcf085fe8db20a8b6329287934fb222 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Wed, 8 Nov 2017 10:33:48 +0000 Subject: [PATCH] [ML] Remove Watcher middleman from ML dependency on core (elastic/x-pack-elasticsearch#2926) I imagine this needless indirection arose from accepting the wrong IntelliJ suggestion for an import. Original commit: elastic/x-pack-elasticsearch@54d7e854d3b8e9966f8034d7216adafefa646d15 --- .../org/elasticsearch/xpack/ml/action/PutFilterAction.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/PutFilterAction.java b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/PutFilterAction.java index 6f9bf5a34fd..023d5e2073e 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/PutFilterAction.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/PutFilterAction.java @@ -37,7 +37,6 @@ import org.elasticsearch.xpack.ml.job.config.MlFilter; import org.elasticsearch.xpack.ml.job.messages.Messages; import org.elasticsearch.xpack.ml.utils.ExceptionsHelper; import org.elasticsearch.xpack.security.InternalClient; -import org.elasticsearch.xpack.watcher.watch.Payload; import java.io.IOException; import java.util.Collections; @@ -178,7 +177,7 @@ public class PutFilterAction extends Action