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

refactor: simplify normalizekey() by using existing map #2782

Merged
merged 1 commit into from
Jun 27, 2018
Merged

Conversation

jpoon
Copy link
Member

@jpoon jpoon commented Jun 27, 2018

What this PR does / why we need it:

Simplify normalizeKey(). Leverage the existing map instead of the additional if statements.

Which issue(s) this PR fixes

Special notes for your reviewer:

@jpoon jpoon merged commit 4b79f1a into master Jun 27, 2018
@jpoon jpoon deleted the remapping branch June 27, 2018 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant