diff --git a/OsmAnd-java/src/main/java/net/osmand/data/TransportRoute.java b/OsmAnd-java/src/main/java/net/osmand/data/TransportRoute.java index 01925cd60b..902cac2664 100644 --- a/OsmAnd-java/src/main/java/net/osmand/data/TransportRoute.java +++ b/OsmAnd-java/src/main/java/net/osmand/data/TransportRoute.java @@ -91,7 +91,7 @@ public class TransportRoute extends MapObject { } if (forwardStops.size() > 0) { // resort ways to stops order - Map orderWays = new HashMap(); + final Map orderWays = new HashMap(); for (Way w : forwardWays) { int[] pair = new int[] { 0, 0 }; Node firstNode = w.getFirstNode();