Wikivoyage to OBF migration: Work in progress 3-2. pr fixes
This commit is contained in:
parent
da678079eb
commit
6ca63c9a44
2 changed files with 1 additions and 5 deletions
|
@ -673,7 +673,6 @@ public class TravelDbHelper implements TravelHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static PopularArticle readArticleFromAmenity(Amenity a, String lang) {
|
public static PopularArticle readArticleFromAmenity(Amenity a, String lang) {
|
||||||
Map<String,String> additional = a.getAdditionalInfo();
|
|
||||||
PopularArticle res = new PopularArticle();
|
PopularArticle res = new PopularArticle();
|
||||||
res.title = a.getName(lang);
|
res.title = a.getName(lang);
|
||||||
res.lat = a.getLocation().getLatitude();
|
res.lat = a.getLocation().getLatitude();
|
||||||
|
|
|
@ -34,7 +34,7 @@ public interface TravelHelper {
|
||||||
@NonNull
|
@NonNull
|
||||||
List<TravelArticle> loadPopularArticles();
|
List<TravelArticle> loadPopularArticles();
|
||||||
|
|
||||||
public LinkedHashMap<WikivoyageSearchResult, List<WikivoyageSearchResult>> getNavigationMap(
|
LinkedHashMap<WikivoyageSearchResult, List<WikivoyageSearchResult>> getNavigationMap(
|
||||||
final TravelArticle article);
|
final TravelArticle article);
|
||||||
|
|
||||||
TravelArticle getArticle(long cityId, String lang);
|
TravelArticle getArticle(long cityId, String lang);
|
||||||
|
@ -50,7 +50,4 @@ public interface TravelHelper {
|
||||||
String getGPXName(TravelArticle article);
|
String getGPXName(TravelArticle article);
|
||||||
|
|
||||||
File createGpxFile(TravelArticle article);
|
File createGpxFile(TravelArticle article);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue