From b984d8c76e12fad2025bc2491506546b3b920907 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 27 Oct 2017 16:19:35 +0200 Subject: [PATCH] fix build --- OsmAnd-java/src/net/osmand/binary/RouteDataObject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java b/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java index 26f4912bbc..8c054245c0 100644 --- a/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java +++ b/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java @@ -692,9 +692,9 @@ public class RouteDataObject { for (int j = 0; j < types.length; j++) { if (r.getTag().equals("direction")) { String dv = r.getValue(); - if ((dv.equals("forward") && direction = true) || (dv.equals("backward") && direction = false)) { + if ((dv.equals("forward") && direction == true) || (dv.equals("backward") && direction == false)) { return 1; - } else if ((dv.equals("forward") && direction = false) || (dv.equals("backward") && direction = true)) { + } else if ((dv.equals("forward") && direction == false) || (dv.equals("backward") && direction == true)) { return -1; } }