From b7af7c21d1a27246379960af73a84a9caae11097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Fri, 12 Aug 2016 11:03:55 +0200 Subject: [PATCH] Adapt to changes in master --- .../index/rankeval/RankEvalRequestTests.java | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/modules/rank-eval/src/test/java/org/elasticsearch/index/rankeval/RankEvalRequestTests.java b/modules/rank-eval/src/test/java/org/elasticsearch/index/rankeval/RankEvalRequestTests.java index 6bcf8676d55..c03010c73b1 100644 --- a/modules/rank-eval/src/test/java/org/elasticsearch/index/rankeval/RankEvalRequestTests.java +++ b/modules/rank-eval/src/test/java/org/elasticsearch/index/rankeval/RankEvalRequestTests.java @@ -23,15 +23,6 @@ import org.elasticsearch.action.search.SearchPhaseExecutionException; import org.elasticsearch.index.query.MatchAllQueryBuilder; import org.elasticsearch.index.query.RangeQueryBuilder; import org.elasticsearch.index.rankeval.PrecisionAtN.Rating; -import org.elasticsearch.index.rankeval.QuerySpec; -import org.elasticsearch.index.rankeval.RankEvalAction; -import org.elasticsearch.index.rankeval.RankEvalPlugin; -import org.elasticsearch.index.rankeval.RankEvalRequest; -import org.elasticsearch.index.rankeval.RankEvalRequestBuilder; -import org.elasticsearch.index.rankeval.RankEvalResponse; -import org.elasticsearch.index.rankeval.RankEvalSpec; -import org.elasticsearch.index.rankeval.RatedDocument; -import org.elasticsearch.index.rankeval.RatedDocumentKey; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.search.builder.SearchSourceBuilder; import org.elasticsearch.test.ESIntegTestCase; @@ -48,12 +39,12 @@ import java.util.Set; public class RankEvalRequestTests extends ESIntegTestCase { @Override protected Collection> transportClientPlugins() { - return pluginList(RankEvalPlugin.class); + return Arrays.asList(RankEvalPlugin.class); } @Override protected Collection> nodePlugins() { - return pluginList(RankEvalPlugin.class); + return Arrays.asList(RankEvalPlugin.class); } @Before