From 90e8a16ad81bd8112254eec48ca0453db6d7e991 Mon Sep 17 00:00:00 2001 From: Chumva Date: Mon, 8 Jul 2019 09:53:12 +0300 Subject: [PATCH] Fix compilation --- .../src/main/java/net/osmand/router/RouteStatisticsHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/router/RouteStatisticsHelper.java b/OsmAnd-java/src/main/java/net/osmand/router/RouteStatisticsHelper.java index a32d56e63f..92d756c95f 100644 --- a/OsmAnd-java/src/main/java/net/osmand/router/RouteStatisticsHelper.java +++ b/OsmAnd-java/src/main/java/net/osmand/router/RouteStatisticsHelper.java @@ -254,7 +254,7 @@ public class RouteStatisticsHelper { } Map makePartition(List routeAttributes) { - Map partition = new TreeMap<>(); + final Map partition = new TreeMap<>(); for (RouteSegmentAttribute attribute : routeAttributes) { RouteSegmentAttribute attr = partition.get(attribute.propertyName); if (attr == null) {