From fc65678ce44a0045e194dc6d839898a7b3c00dbc Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 27 Feb 2020 15:53:01 +0200 Subject: [PATCH] Improve search --- .../src/main/java/net/osmand/search/SearchUICore.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/search/SearchUICore.java b/OsmAnd-java/src/main/java/net/osmand/search/SearchUICore.java index 6612ddd4cf..309101f720 100644 --- a/OsmAnd-java/src/main/java/net/osmand/search/SearchUICore.java +++ b/OsmAnd-java/src/main/java/net/osmand/search/SearchUICore.java @@ -893,15 +893,6 @@ public class SearchUICore { if (ps1 != ps2) { return Double.compare(ps1, ps2); } -// if (o1.parentSearchResult != null && o2.parentSearchResult != null) { -// if (o1.parentSearchResult == o2.parentSearchResult) { -// int cmp = collator.compare(localeName1, localeName2); -// if (cmp != 0) { -// return cmp; -// } -// } -// return Double.compare(s1, s2); -// } int cmp = collator.compare(localeName1, localeName2); if (cmp != 0) { return cmp;