From f011abef1d480a2393818be60dd142309bdb5f93 Mon Sep 17 00:00:00 2001 From: Hisham Akmal Date: Fri, 1 Nov 2024 05:50:16 +0530 Subject: [PATCH] Improve string formatting in OkHttpJsonApiClient.java (#5916) --- .../java/fr/free/nrw/commons/mwapi/OkHttpJsonApiClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/fr/free/nrw/commons/mwapi/OkHttpJsonApiClient.java b/app/src/main/java/fr/free/nrw/commons/mwapi/OkHttpJsonApiClient.java index 8d6b742319..8ed37a2937 100644 --- a/app/src/main/java/fr/free/nrw/commons/mwapi/OkHttpJsonApiClient.java +++ b/app/src/main/java/fr/free/nrw/commons/mwapi/OkHttpJsonApiClient.java @@ -285,7 +285,7 @@ public List getNearbyPlaces(final LatLng cur, final String language, fina throws Exception { Timber.d("Fetching nearby items at radius %s", radius); - Timber.d("CUSTOM_SPARQL%s", String.valueOf(customQuery != null)); + Timber.d("CUSTOM_SPARQL: %s", String.valueOf(customQuery != null)); final String wikidataQuery; if (customQuery != null) { wikidataQuery = customQuery; @@ -344,7 +344,7 @@ public List getNearbyPlaces( final boolean shouldQueryForMonuments, final String customQuery) throws Exception { - Timber.d("CUSTOM_SPARQL%s", String.valueOf(customQuery != null)); + Timber.d("CUSTOM_SPARQL: %s", String.valueOf(customQuery != null)); final String wikidataQuery; if (customQuery != null) {