fix build

This commit is contained in:
sonora 2016-03-01 09:36:50 +01:00
parent 519647d691
commit ba579fd3ed

View file

@ -99,7 +99,7 @@ public class PointDescription {
@NonNull
public String getSimpleName(Context ctx, boolean addTypeName) {
if (isLocation()) {
if (Algorithms.isEmpty(name) {
if (Algorithms.isEmpty(name)) {
return getLocationName(ctx, lat, lon, true).replace('\n', ' ');
} else {
return name;