Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2017-07-03 11:22:37 +02:00
commit f5bfffcea1

View file

@ -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){ public void setTypeName(String typeName){
this.typeName = typeName; this.typeName = typeName;
} }
@ -348,8 +340,8 @@ public class PointDescription {
pd = new PointDescription(POINT_TYPE_LOCATION, ""); pd = new PointDescription(POINT_TYPE_LOCATION, "");
} }
if(pd.isLocation() && l != null) { if(pd.isLocation() && l != null) {
pd.setLat(l.getLatitude()); pd.lat = l.getLatitude();
pd.setLon(l.getLongitude()); pd.lon = l.getLongitude();
} }
return pd; return pd;
} }