Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix language code -> enum conversion #345

Merged
merged 3 commits into from
Apr 3, 2020
Merged

Conversation

raphkim
Copy link
Contributor

@raphkim raphkim commented Apr 2, 2020

Issue #, if available:

Description of changes:
I introduced a bug that fails to convert language code to language type enum. The issue is fixed in this PR by creating a static look-up map in the enum class.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@raphkim raphkim self-assigned this Apr 2, 2020
@raphkim raphkim added the predictions Related to the Predictions category/plugins label Apr 2, 2020
@jamesonwilliams jamesonwilliams merged commit c98ac18 into master Apr 3, 2020
@jamesonwilliams jamesonwilliams deleted the language-type branch April 3, 2020 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
predictions Related to the Predictions category/plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants