[android] - annotate onMapReady with @NonNull

This commit is contained in:
Tobrun
2018-11-07 17:37:15 +01:00
committed by Tobrun
parent daccbaffbc
commit 7cee81abfa
27 changed files with 45 additions and 28 deletions

View File

@@ -3,6 +3,7 @@ package com.mapbox.mapboxsdk.testapp.utils;
import android.app.Activity;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.NonNull;
import android.support.annotation.WorkerThread;
import android.support.test.espresso.IdlingResource;
@@ -49,7 +50,7 @@ public class OnMapReadyIdlingResource implements IdlingResource, OnMapReadyCallb
}
@Override
public void onMapReady(MapboxMap mapboxMap) {
public void onMapReady(@NonNull MapboxMap mapboxMap) {
Assert.assertNotNull("MapboxMap should not be null", mapboxMap);
this.mapboxMap = mapboxMap;
if (resourceCallback != null) {