fix build

This commit is contained in:
sonora 2016-07-23 11:27:43 +02:00
parent b9fd0c1fb6
commit 1f080ba2e3

View file

@ -354,7 +354,7 @@ public class GpxImportHelper {
final List<FavouritePoint> favourites = new ArrayList<>();
for (GPXUtilities.WptPt p : wptPts) {
if (p.name != null) {
final string fpCat = (p.category != null) ? p.category : "";
final String fpCat = (p.category != null) ? p.category : "";
final FavouritePoint fp = new FavouritePoint(p.lat, p.lon, p.name, fpCat);
if (p.desc != null) {
fp.setDescription(p.desc);