Skip to content

Refactor experiment and events getters #179

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

Merged
merged 6 commits into from
Apr 12, 2018

Conversation

wangjoshuah
Copy link
Contributor

  • Remove throws declarations on methods since we never actually throw.
  • Change docs to explain that we send it to the error handler instead

…Change docs to explain that we send it to the error handler instead
@wangjoshuah wangjoshuah requested a review from vraja2 April 12, 2018 18:19
@coveralls
Copy link

coveralls commented Apr 12, 2018

Pull Request Test Coverage Report for Build 504

  • 19 of 19 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.784%

Totals Coverage Status
Change from base Build 499: 0.0%
Covered Lines: 2161
Relevant Lines: 2434

💛 - Coveralls

Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just a few small comments

getExperimentKeyMapping()
.get(experimentKey);

// if the given experiment key isn't present in the config, log and potentially throw an exception
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revise comment on throwing error

getEventNameMapping()
.get(eventName);

// if the given event name isn't present in the config, log and potentially throw an exception
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No exceptions anymore!

@wangjoshuah wangjoshuah merged commit 15d5f12 into master Apr 12, 2018
@wangjoshuah wangjoshuah deleted the josh.wang/move_getters_to_project_config branch April 12, 2018 20:57
@wangjoshuah wangjoshuah changed the title [WIP] Refactor experiment and events getters Refactor experiment and events getters Apr 12, 2018
@mikeproeng37 mikeproeng37 mentioned this pull request Apr 12, 2018
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.

3 participants