Wikivoyage to OBF migration: Work in progress 3-2. pr fixes

This commit is contained in:
MadWasp79 2020-11-27 17:30:34 +02:00
parent da678079eb
commit 6ca63c9a44
2 changed files with 1 additions and 5 deletions

View file

@ -673,7 +673,6 @@ public class TravelDbHelper implements TravelHelper {
}
public static PopularArticle readArticleFromAmenity(Amenity a, String lang) {
Map<String,String> additional = a.getAdditionalInfo();
PopularArticle res = new PopularArticle();
res.title = a.getName(lang);
res.lat = a.getLocation().getLatitude();

View file

@ -34,7 +34,7 @@ public interface TravelHelper {
@NonNull
List<TravelArticle> loadPopularArticles();
public LinkedHashMap<WikivoyageSearchResult, List<WikivoyageSearchResult>> getNavigationMap(
LinkedHashMap<WikivoyageSearchResult, List<WikivoyageSearchResult>> 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);
}