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