diff options
author | Brad Leege <bleege@gmail.com> | 2016-04-07 12:27:12 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2016-04-07 12:27:12 -0500 |
commit | 891685188b6bbda1a79ab93d4a16d36ce9177047 (patch) | |
tree | 2c993647a31d4df71221cbdcf64f120f5ab4219c | |
parent | 62d25b47ae55351d15ee5156b81980eba08b81fe (diff) | |
parent | c57edfc6f5e730c2f3fd5a91a867deae714b1db1 (diff) | |
download | qtlocation-mapboxgl-891685188b6bbda1a79ab93d4a16d36ce9177047.tar.gz |
Merge branch 'syntaxSugar' of git://github.com/vacxe/mapbox-gl-native into vacxe-syntaxSugar
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java index 9262d95f75..b5d932ac71 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java @@ -527,7 +527,7 @@ public class MapboxEventManager { @Override protected Void doInBackground(Void... voids) { - if (events.size() < 1) { + if (events.isEmpty()) { Log.d(TAG, "No events in the queue to send so returning."); return null; } |