summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Mace <cameron@mapbox.com>2016-03-24 11:46:45 -0500
committerBrad Leege <bleege@gmail.com>2016-03-24 18:38:51 -0500
commit48cc510d295162c4d9b0f9e8376db9e05d9ab3e9 (patch)
tree42548f47299ef9c4671f511687bff373502f2597
parent24216ce51ad4b660ce0964ce882f22032df763ca (diff)
downloadqtlocation-mapboxgl-48cc510d295162c4d9b0f9e8376db9e05d9ab3e9.tar.gz
[android] #4429 Removed NonNull from OnMapReady
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/OnMapReadyCallback.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/OnMapReadyCallback.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/OnMapReadyCallback.java
index 255ca1e5f9..7ace9ec2d3 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/OnMapReadyCallback.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/OnMapReadyCallback.java
@@ -1,12 +1,10 @@
package com.mapbox.mapboxsdk.maps;
-import android.support.annotation.NonNull;
-
/**
* Interface definition for a callback to be invoked when the map is ready to be used.
* <p>
* Once an instance of this interface is set on a {@link MapFragment} or {@link MapView} object,
- * the onMapReady(MapboxMap) method is triggered when the map is ready to be used and provides a non-null instance of {@link MapboxMap}.
+ * the onMapReady(MapboxMap) method is triggered when the map is ready to be used and provides an instance of {@link MapboxMap}.
* </p>
*/
public interface OnMapReadyCallback {
@@ -14,8 +12,8 @@ public interface OnMapReadyCallback {
/**
* Called when the map is ready to be used.
*
- * @param mapboxMap A non-null instance of a MapboxMap associated with the {@link MapFragment}
- * or {@link MapView} that defines the callback.
+ * @param mapboxMap An instance of MapboxMap associated with the {@link MapFragment} or
+ * {@link MapView} that defines the callback.
*/
- void onMapReady(@NonNull MapboxMap mapboxMap);
+ void onMapReady(MapboxMap mapboxMap);
}