mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Change file extension of nearby query to .rq
Currently the file uses .txt which breaks syntax highlighting one some platforms. This is also the file extension recommendet in the standard: https://www.w3.org/TR/2010/WD-sparql11-federated-query-20100601/ Changes to be committed: renamed: src/main/assets/queries/nearby_query.txt -> src/main/assets/queries/nearby_query.rq modified: src/main/java/fr/free/nrw/commons/nearby/NearbyPlaces.java
This commit is contained in:
parent
706c971d91
commit
14024601fc
2 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ public class NearbyPlaces {
|
|||
throws IOException {
|
||||
List<Place> places = new ArrayList<>();
|
||||
|
||||
String query = FileUtils.readFromFile(context, "queries/nearby_query.txt");
|
||||
String query = FileUtils.readFromFile(context, "queries/nearby_query.rq");
|
||||
|
||||
Timber.d(query);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue