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:
Tobias Schönberg 2017-05-15 20:06:40 +02:00
parent 706c971d91
commit 14024601fc
2 changed files with 1 additions and 1 deletions

View file

@ -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);