Fix issue with search

This commit is contained in:
Victor Shcherb 2017-04-14 15:07:45 +03:00
parent 6bc6eb88d9
commit 755ca8bcf9

View file

@ -638,7 +638,7 @@ public class SearchPhrase {
public String getUnknownWordToSearch() { public String getUnknownWordToSearch() {
List<String> unknownSearchWords = getUnknownSearchWords(); List<String> unknownSearchWords = getUnknownSearchWords();
String wordToSearch = ""; String wordToSearch = getUnknownSearchWord();
if (unknownSearchWords.size() > 0) { if (unknownSearchWords.size() > 0) {
List<String> searchWords = new ArrayList<>(unknownSearchWords); List<String> searchWords = new ArrayList<>(unknownSearchWords);
searchWords.add(0, getUnknownSearchWord()); searchWords.add(0, getUnknownSearchWord());