From ff25225fc37d4497a373820787ea6a1b2890c878 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Tue, 8 Aug 2017 09:21:05 +0100 Subject: [PATCH] Fix warnings in BlendedInfixSuggesterTest. --- .../suggest/analyzing/BlendedInfixSuggesterTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/BlendedInfixSuggesterTest.java b/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/BlendedInfixSuggesterTest.java index fe14e23815d..ace44678957 100644 --- a/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/BlendedInfixSuggesterTest.java +++ b/lucene/suggest/src/test/org/apache/lucene/search/suggest/analyzing/BlendedInfixSuggesterTest.java @@ -27,6 +27,7 @@ import org.apache.lucene.analysis.CharArraySet; import org.apache.lucene.analysis.MockAnalyzer; import org.apache.lucene.analysis.MockTokenizer; import org.apache.lucene.analysis.standard.StandardAnalyzer; +import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.suggest.Input; import org.apache.lucene.search.suggest.InputArrayIterator; @@ -302,17 +303,17 @@ public class BlendedInfixSuggesterTest extends LuceneTestCase { assertEquals(2, responses.size()); - responses = suggester.lookup(term, (Map) null, 1, false, false); + responses = suggester.lookup(term, (Map) null, 1, false, false); assertEquals(1, responses.size()); - responses = suggester.lookup(term, (Map) null, 2, false, false); + responses = suggester.lookup(term, (Map) null, 2, false, false); assertEquals(2, responses.size()); - responses = suggester.lookup(term, (Set) null, 1, false, false); + responses = suggester.lookup(term, (Set) null, 1, false, false); assertEquals(1, responses.size()); - responses = suggester.lookup(term, (Set) null, 2, false, false); + responses = suggester.lookup(term, (Set) null, 2, false, false); assertEquals(2, responses.size());