fix java warning in SolrQueryTest

This commit is contained in:
Christine Poerschke 2016-12-07 21:16:42 +00:00
parent 4852851d85
commit 8c81deb884
1 changed files with 1 additions and 1 deletions

View File

@ -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());