From 9af2c2cbebea7930fe0f3c59dadb19263d3943c3 Mon Sep 17 00:00:00 2001 From: David Kyle Date: Tue, 17 Jan 2017 13:57:08 +0000 Subject: [PATCH] Fix check style error (wildcard import) Original commit: elastic/x-pack-elasticsearch@d5ba5d8dda861047c13210a92b7660b465a23cd1 --- .../ml/job/process/normalizer/NormalizerTests.java | 5 +++-- .../job/process/normalizer/ScoresUpdaterTests.java | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/elasticsearch/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java b/elasticsearch/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java index 123e4fc6a0c..8dce49fae89 100644 --- a/elasticsearch/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java +++ b/elasticsearch/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/NormalizerTests.java @@ -11,11 +11,12 @@ import org.elasticsearch.xpack.ml.job.results.Bucket; import org.elasticsearch.xpack.ml.job.results.BucketInfluencer; import java.io.IOException; -import java.util.*; +import java.util.Arrays; +import java.util.Date; +import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; -import java.util.stream.Collectors; import static org.mockito.Matchers.any; import static org.mockito.Matchers.eq; diff --git a/elasticsearch/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java b/elasticsearch/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java index e213f2254d2..b256379e78e 100644 --- a/elasticsearch/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java +++ b/elasticsearch/src/test/java/org/elasticsearch/xpack/ml/job/process/normalizer/ScoresUpdaterTests.java @@ -31,12 +31,6 @@ import org.mockito.MockitoAnnotations; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; -import static org.elasticsearch.mock.orig.Mockito.doAnswer; -import static org.elasticsearch.mock.orig.Mockito.never; -import static org.elasticsearch.mock.orig.Mockito.times; -import static org.elasticsearch.mock.orig.Mockito.mock; -import static org.elasticsearch.mock.orig.Mockito.verify; -import static org.elasticsearch.mock.orig.Mockito.when; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyBoolean; import static org.mockito.Matchers.anyInt; @@ -44,6 +38,12 @@ import static org.mockito.Matchers.anyList; import static org.mockito.Matchers.anyListOf; import static org.mockito.Matchers.anyString; import static org.mockito.Matchers.eq; +import static org.mockito.Mockito.doAnswer; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.never; +import static org.mockito.Mockito.times; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; public class ScoresUpdaterTests extends ESTestCase { private static final String JOB_ID = "foo";