mirror of https://github.com/apache/lucene.git
fix java warning in SolrQueryTest
This commit is contained in:
parent
4852851d85
commit
8c81deb884
|
@ -441,7 +441,7 @@ public class SolrQueryTest extends LuceneTestCase {
|
|||
solrQuery.addMoreLikeThisField("mlt3");
|
||||
solrQuery.addMoreLikeThisField("mlt4");
|
||||
assertEquals(4, solrQuery.getMoreLikeThisFields().length);
|
||||
solrQuery.setMoreLikeThisFields(null);
|
||||
solrQuery.setMoreLikeThisFields((String[])null);
|
||||
assertTrue(null == solrQuery.getMoreLikeThisFields());
|
||||
assertFalse(solrQuery.getMoreLikeThis());
|
||||
|
||||
|
|
Loading…
Reference in New Issue