From bb168f8b45cdc5585d47a6b4418de8af69009e5f Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 5 Aug 2018 23:44:10 +0300 Subject: [PATCH] Fix transport route geometry --- OsmAnd-java/src/main/java/net/osmand/data/TransportRoute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();