From 8ca93aebfe916bfccabcc6acc5febfd98b9bb563 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Mon, 3 Aug 2015 13:03:05 +0200 Subject: [PATCH] Update OsmAndFormatter.java --- OsmAnd/src/net/osmand/plus/OsmAndFormatter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java b/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java index dc30bbba23..c2034ed1ee 100644 --- a/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java +++ b/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java @@ -205,12 +205,11 @@ public class OsmAndFormatter { } else if(Amenity.PHONE.equals(key)) { d.append(ctx.getString(R.string.phone) + ": "); } else if(Amenity.WEBSITE.equals(key)) { - d.append(ctx.getString(R.string.website) + ": "); } else { AbstractPoiType pt = poiTypes.getAnyPoiAdditionalTypeByKey(e.getKey()); if (pt != null) { - if(pt instance PoiType && !((PoiType) pt).isText()) { + if(pt instanceof PoiType && !((PoiType) pt).isText()) { vl = pt.getTranslation(); } else { vl = pt.getTranslation() + ": " + amenity.unzipContent(e.getValue());