From 13b748b0505f7b70be8cad247f1d8f36e8408daa Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Wed, 25 May 2016 15:26:46 +0300 Subject: [PATCH] Fixed java 1.6 compatibility issue. --- OsmAnd-java/src/net/osmand/util/Algorithms.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/util/Algorithms.java b/OsmAnd-java/src/net/osmand/util/Algorithms.java index 0e7bbf5838..99bff0bc20 100644 --- a/OsmAnd-java/src/net/osmand/util/Algorithms.java +++ b/OsmAnd-java/src/net/osmand/util/Algorithms.java @@ -122,7 +122,7 @@ public class Algorithms { if (isEmpty(s)) { return Collections.emptyMap(); } - Map names = new HashMap<>(); + Map names = new HashMap(); String[] split = s.split(CHAR_TOSPLIT + ""); // last split is an empty string for (int i = 1; i < split.length; i += 2) {