From 0ed1bea1c5dbc6aae6799b7db27ef3299d391b8d Mon Sep 17 00:00:00 2001 From: Samuel Githengi Date: Thu, 26 Sep 2019 14:33:36 +0300 Subject: [PATCH] Code cleanup --- .../kujaku/downloaders/MapBoxOfflineResourcesDownloader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/io/ona/kujaku/downloaders/MapBoxOfflineResourcesDownloader.java b/library/src/main/java/io/ona/kujaku/downloaders/MapBoxOfflineResourcesDownloader.java index 6ac90381b..caea84667 100644 --- a/library/src/main/java/io/ona/kujaku/downloaders/MapBoxOfflineResourcesDownloader.java +++ b/library/src/main/java/io/ona/kujaku/downloaders/MapBoxOfflineResourcesDownloader.java @@ -657,7 +657,7 @@ public int getConnectivityReceiverActivationCounter() { * @param tileDownloadLimit maximum number of Mapbox-hosted tiles that may be downloaded */ public MapBoxOfflineResourcesDownloader withTileDownloadLimit(long tileDownloadLimit) { - if(offlineManager!=null) { + if (offlineManager != null) { offlineManager.setOfflineMapboxTileCountLimit(tileDownloadLimit); } return this;