From ac8919119339591bf00ed3074344219eb8ac73d3 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Mon, 3 Jul 2017 12:21:54 +0300 Subject: [PATCH] Fix PointDescription --- OsmAnd/src/net/osmand/data/PointDescription.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/OsmAnd/src/net/osmand/data/PointDescription.java b/OsmAnd/src/net/osmand/data/PointDescription.java index bf7e551e06..cc778e0a0e 100644 --- a/OsmAnd/src/net/osmand/data/PointDescription.java +++ b/OsmAnd/src/net/osmand/data/PointDescription.java @@ -72,14 +72,6 @@ public class PointDescription { } } - public void setLat(double lat) { - this.lat = lat; - } - - public void setLon(double lon) { - this.lon = lon; - } - public void setTypeName(String typeName){ this.typeName = typeName; } @@ -348,8 +340,8 @@ public class PointDescription { pd = new PointDescription(POINT_TYPE_LOCATION, ""); } if(pd.isLocation() && l != null) { - pd.setLat(l.getLatitude()); - pd.setLon(l.getLongitude()); + pd.lat = l.getLatitude(); + pd.lon = l.getLongitude(); } return pd; }