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

Add SafeVarargs to Expression methods #11027

Merged
merged 1 commit into from
Jan 24, 2018
Merged

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Jan 24, 2018

The use of varargs parameters in the Expressions.java can lead to compiler warnings as:

screen shot 2018-01-24 at 14 13 53

We can ignore these warnings with annotating the method with @SafeVarArgs since we don't perform potentially unsafe operations on its varargs parameter.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Jan 24, 2018
@tobrun tobrun added this to the android-v6.0.0 milestone Jan 24, 2018
@tobrun tobrun self-assigned this Jan 24, 2018
@tobrun tobrun merged commit 7159a14 into master Jan 24, 2018
@tobrun tobrun deleted the tvn-expression-safevarags branch January 24, 2018 20:53
@tobrun tobrun mentioned this pull request Jan 26, 2018
23 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants