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

Refactor Android conversion code #12678

Merged
merged 4 commits into from
Aug 21, 2018
Merged

Refactor Android conversion code #12678

merged 4 commits into from
Aug 21, 2018

Conversation

jfirebaugh
Copy link
Contributor

I'm working on upgrading to the latest version of jni.hpp and found that it would be easier if I did some preparatory cleanup work first.

  • Move implementation of conversion operator()s to .cpp files. This is something that we did for core conversion back in Runtime polymorphic conversion #10075, but didn't bring to Android until now.
  • Reuse core enum <-> string conversion rather than rebuilding it.
  • Remove some unused code.

@jfirebaugh jfirebaugh added refactor Android Mapbox Maps SDK for Android labels Aug 20, 2018
@tobrun tobrun added this to the android-v6.5.0 milestone Aug 21, 2018
@jfirebaugh jfirebaugh merged commit a842c19 into master Aug 21, 2018
@jfirebaugh jfirebaugh deleted the android-conversion-cpp branch August 21, 2018 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants