From 6ca63c9a440b394d28c39f5cab22447541c7c9a7 Mon Sep 17 00:00:00 2001 From: MadWasp79 Date: Fri, 27 Nov 2020 17:30:34 +0200 Subject: [PATCH] Wikivoyage to OBF migration: Work in progress 3-2. pr fixes --- .../src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java | 1 - OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelHelper.java | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java index 3acc12b79d..0ca212164d 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelDbHelper.java @@ -673,7 +673,6 @@ public class TravelDbHelper implements TravelHelper { } public static PopularArticle readArticleFromAmenity(Amenity a, String lang) { - Map additional = a.getAdditionalInfo(); PopularArticle res = new PopularArticle(); res.title = a.getName(lang); res.lat = a.getLocation().getLatitude(); diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelHelper.java b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelHelper.java index ae621539a3..065aff9e3f 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelHelper.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/data/TravelHelper.java @@ -34,7 +34,7 @@ public interface TravelHelper { @NonNull List loadPopularArticles(); - public LinkedHashMap> getNavigationMap( + LinkedHashMap> getNavigationMap( final TravelArticle article); TravelArticle getArticle(long cityId, String lang); @@ -50,7 +50,4 @@ public interface TravelHelper { String getGPXName(TravelArticle article); File createGpxFile(TravelArticle article); - - - }