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) {