MapboxEventManager: operator size optimized

This commit is contained in:
Vacxe
2016-04-07 12:53:11 +03:00
parent cee1b0b526
commit c57edfc6f5

View File

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