Skip to content

Conversation

@mikecdavis
Copy link
Contributor

Summary

  • Prevent NPE in HttpProjectConfigManager.Builder.
  • Move addNotificationHandler into NotificationCenter

After further integration and dog-fooding these changes were made to improve overall usability.

Test plan

Unit and compatibility test suite

@mikecdavis mikecdavis requested a review from aliabbasrizvi May 16, 2019 00:00
@coveralls
Copy link

coveralls commented May 16, 2019

Pull Request Test Coverage Report for Build 1056

  • 14 of 14 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 89.54%

Totals Coverage Status
Change from base Build 1052: 0.07%
Covered Lines: 3287
Relevant Lines: 3671

💛 - Coveralls

Copy link
Contributor

@aliabbasrizvi aliabbasrizvi left a comment

Choose a reason for hiding this comment

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

Changes look good.

assertEquals(2, notificationCenter.addNotificationHandler(DecisionNotification.class, x -> {}));
assertEquals(3, notificationCenter.addNotificationHandler(TrackNotification.class, x -> {}));
assertEquals(4, notificationCenter.addNotificationHandler(UpdateConfigNotification.class, x -> {}));

Copy link
Contributor

Choose a reason for hiding this comment

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

nit. Extraneous.

@mikecdavis mikecdavis merged commit 80c6e28 into master May 16, 2019
@mikecdavis mikecdavis deleted the mikecdavis/usability-improvements branch May 16, 2019 16:54
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.

4 participants