From 9df1a58118b2d67c3f33560c45954e35cf7fd799 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 2 Dec 2016 20:10:30 +0100 Subject: [PATCH] fix () --- OsmAnd-java/src/net/osmand/binary/RouteDataObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java b/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java index dc248658c4..eb12f7f1fd 100644 --- a/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java +++ b/OsmAnd-java/src/net/osmand/binary/RouteDataObject.java @@ -145,7 +145,7 @@ public class RouteDataObject { public String getDestinationName(String lang, boolean transliterate, boolean direction){ //Issue #3289: Treat destination:ref like a destination, not like a ref - String destRef = ((getDestinationRef(direction) == null) || getDestinationRef(direction).equals(getRef(direction)) ? "" : getDestinationRef(direction); + String destRef = ((getDestinationRef(direction) == null) || getDestinationRef(direction).equals(getRef(direction))) ? "" : getDestinationRef(direction); String destRef1 = ("".equals(destRef)) ? "" : destRef + ", "; if(names != null) {