diff --git a/OsmAnd-java/src/main/java/net/osmand/search/core/SearchPhrase.java b/OsmAnd-java/src/main/java/net/osmand/search/core/SearchPhrase.java index 2a3fc59521..09dcdc372b 100644 --- a/OsmAnd-java/src/main/java/net/osmand/search/core/SearchPhrase.java +++ b/OsmAnd-java/src/main/java/net/osmand/search/core/SearchPhrase.java @@ -720,7 +720,7 @@ public class SearchPhrase { if (result.containsKey(currRegionName)) { result.get(currRegionName).add(r); } else { - result.put(currRegionName, new ArrayList<>(Arrays.asList(r))); + result.put(currRegionName, new ArrayList<>(Collections.singletonList(r))); } it.remove(); }