From 6dff7a2951c3518771623b21fa81556f1d727cdd Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 10 May 2018 11:19:54 +0200 Subject: [PATCH] Fix search --- OsmAnd-java/src/net/osmand/search/SearchUICore.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/search/SearchUICore.java b/OsmAnd-java/src/net/osmand/search/SearchUICore.java index 0e1b8e0093..9bfb8259f3 100644 --- a/OsmAnd-java/src/net/osmand/search/SearchUICore.java +++ b/OsmAnd-java/src/net/osmand/search/SearchUICore.java @@ -400,7 +400,7 @@ public class SearchUICore { return this.phrase; } - public SearchResultCollection search(final String text, final boolean delayedExecution, final ResultMatcher matcher) { + public void search(final String text, final boolean delayedExecution, final ResultMatcher matcher) { final int request = requestNumber.incrementAndGet(); final SearchPhrase phrase = this.phrase.generateNewPhrase(text, searchSettings); this.phrase = phrase; @@ -504,7 +504,6 @@ public class SearchUICore { } } }); - return null; }