Skip to content

Commit f011abe

Browse files
authored
Improve string formatting in OkHttpJsonApiClient.java (commons-app#5916)
1 parent 7c82650 commit f011abe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/fr/free/nrw/commons/mwapi/OkHttpJsonApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public List<Place> getNearbyPlaces(final LatLng cur, final String language, fina
285285
throws Exception {
286286

287287
Timber.d("Fetching nearby items at radius %s", radius);
288-
Timber.d("CUSTOM_SPARQL%s", String.valueOf(customQuery != null));
288+
Timber.d("CUSTOM_SPARQL: %s", String.valueOf(customQuery != null));
289289
final String wikidataQuery;
290290
if (customQuery != null) {
291291
wikidataQuery = customQuery;
@@ -344,7 +344,7 @@ public List<Place> getNearbyPlaces(
344344
final boolean shouldQueryForMonuments, final String customQuery)
345345
throws Exception {
346346

347-
Timber.d("CUSTOM_SPARQL%s", String.valueOf(customQuery != null));
347+
Timber.d("CUSTOM_SPARQL: %s", String.valueOf(customQuery != null));
348348

349349
final String wikidataQuery;
350350
if (customQuery != null) {

0 commit comments

Comments
 (0)