From f06b4fbbaf272a6ed57941cbf9e005f07270e731 Mon Sep 17 00:00:00 2001 From: David Kyle Date: Wed, 22 Feb 2017 13:52:38 +0000 Subject: [PATCH] [ML] remove duplicate code Original commit: elastic/x-pack-elasticsearch@340480477cbf576975ce8863bd359f2da0dc2b19 --- .../org/elasticsearch/xpack/ml/action/FlushJobAction.java | 3 +-- .../xpack/ml/action/PostDataFlushRequestTests.java | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/FlushJobAction.java b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/FlushJobAction.java index 499e569e6db..3844c8f0cb0 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/FlushJobAction.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/FlushJobAction.java @@ -31,7 +31,6 @@ import org.elasticsearch.xpack.ml.job.config.Job; import org.elasticsearch.xpack.ml.job.process.autodetect.AutodetectProcessManager; import org.elasticsearch.xpack.ml.job.process.autodetect.params.InterimResultsParams; import org.elasticsearch.xpack.ml.job.process.autodetect.params.TimeRange; -import org.elasticsearch.xpack.ml.utils.ExceptionsHelper; import java.io.IOException; import java.util.Objects; @@ -89,7 +88,7 @@ public class FlushJobAction extends Action new Request(null)); + } } \ No newline at end of file