small correction

This commit is contained in:
sonora 2016-12-04 11:47:20 +01:00
parent ba04890f44
commit 19d00486d9

View file

@ -201,10 +201,8 @@ public class RouteDataObject {
}
}
}
if(transliterate && destinationDefault != null) {
return destRef1 + Junidecode.unidecode(destinationDefault);
} else if (destinationDefault != null) {
return destRef1 + destinationDefault;
if(destinationDefault != null) {
return destRef1 + ((transliterate) ? Junidecode.unidecode(destinationDefault) : destinationDefault);
}
}
return "".equals(destRef) ? null : destRef;