From fc9e4e03c2f14952f98a51e4476486cda7dbe486 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 17 Mar 2019 14:15:54 +0100 Subject: [PATCH] Update routing and add parameters to configuration --- .../java/net/osmand/router/TransportRoutingConfiguration.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/router/TransportRoutingConfiguration.java b/OsmAnd-java/src/main/java/net/osmand/router/TransportRoutingConfiguration.java index 7c7e447cad..4c71e5307f 100644 --- a/OsmAnd-java/src/main/java/net/osmand/router/TransportRoutingConfiguration.java +++ b/OsmAnd-java/src/main/java/net/osmand/router/TransportRoutingConfiguration.java @@ -1,7 +1,6 @@ package net.osmand.router; import java.util.BitSet; -import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.TreeMap; @@ -79,7 +78,7 @@ public class TransportRoutingConfiguration { } public TransportRoutingConfiguration(RoutingConfiguration.Builder builder) { - this(builder, Collections.emptyMap()); + this(builder, new TreeMap()); } public TransportRoutingConfiguration(RoutingConfiguration.Builder builder, Map params) {