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; }