Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Annotate onMapReady with @NonNull #13307

Merged
merged 1 commit into from
Nov 8, 2018
Merged

Annotate onMapReady with @NonNull #13307

merged 1 commit into from
Nov 8, 2018

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Nov 7, 2018

This PR adds @NonNull to the OnMapReady parameter. This improves consumption of the SDK in Kotlin by removing the nullity on MapboxMap (eg. mapboxMap? becomes mapboxMap). This change breaks client builds if they use Kotlin so this is a semver change.

@tobrun tobrun added Android Mapbox Maps SDK for Android SEMVER-MAJOR Requires a major release according to Semantic Versioning rules labels Nov 7, 2018
@tobrun tobrun added this to the android-v7.0.0 milestone Nov 7, 2018
@tobrun tobrun self-assigned this Nov 7, 2018
@tobrun tobrun merged commit 7cee81a into master Nov 8, 2018
@tobrun tobrun deleted the tvn-onmapready branch November 8, 2018 10:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android SEMVER-MAJOR Requires a major release according to Semantic Versioning rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants