diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-10-10 11:56:03 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-10-10 11:56:03 +0200 |
commit | 2293e6f1dedc49befe59fb8c268a901df82941cf (patch) | |
tree | 15cdca86f2af1d99f1e7f5a122f5f4ee591e12db /container-search/src/test/java/com/yahoo/search | |
parent | 30daa72c29711b188b7f2cd3c30a83255021d068 (diff) |
Optimize imports
Diffstat (limited to 'container-search/src/test/java/com/yahoo/search')
2 files changed, 1 insertions, 5 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java b/container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java index 665121cc658..d656ed640a6 100644 --- a/container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java +++ b/container-search/src/test/java/com/yahoo/search/searchers/ValidateNearestNeighborTestCase.java @@ -3,7 +3,6 @@ package com.yahoo.search.searchers; import com.yahoo.config.subscription.ConfigGetter; import com.yahoo.config.subscription.RawSource; -import com.yahoo.language.simple.SimpleLinguistics; import com.yahoo.prelude.IndexFacts; import com.yahoo.prelude.IndexModel; import com.yahoo.prelude.SearchDefinition; @@ -11,7 +10,6 @@ import com.yahoo.search.Query; import com.yahoo.search.query.parser.Parsable; import com.yahoo.search.query.parser.ParserEnvironment; import com.yahoo.search.query.QueryTree; -import com.yahoo.search.rendering.RendererRegistry; import com.yahoo.search.Result; import com.yahoo.search.result.ErrorMessage; import com.yahoo.search.searchchain.Execution; diff --git a/container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java b/container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java index dfcbb77b08e..86ffb1f9830 100644 --- a/container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java +++ b/container-search/src/test/java/com/yahoo/search/searchers/test/ValidateMatchPhaseSearcherTestCase.java @@ -4,9 +4,7 @@ package com.yahoo.search.searchers.test; import com.yahoo.component.chain.Chain; import com.yahoo.config.subscription.ConfigGetter; import com.yahoo.config.subscription.RawSource; -import com.yahoo.language.simple.SimpleLinguistics; import com.yahoo.search.Searcher; -import com.yahoo.search.rendering.RendererRegistry; import com.yahoo.search.searchchain.Execution; import com.yahoo.search.searchers.ValidateMatchPhaseSearcher; import com.yahoo.search.Query; @@ -24,7 +22,7 @@ import static org.junit.Assert.*; */ public class ValidateMatchPhaseSearcherTestCase { - private ValidateMatchPhaseSearcher searcher; + private final ValidateMatchPhaseSearcher searcher; public ValidateMatchPhaseSearcherTestCase() { searcher = new ValidateMatchPhaseSearcher( |