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 to Notification equals method. #3214

Merged
merged 1 commit into from Aug 28, 2015
Merged

Fix to Notification equals method. #3214

merged 1 commit into from Aug 28, 2015

Conversation

wrightm
Copy link

@wrightm wrightm commented Aug 27, 2015

The Notification method was missing a check to hasValue and hasThrowable. This allowed for a null value onNext Notification to equal an Object notification. A similar bug for onError Notification events also existed.

@akarnokd akarnokd added the Bug label Aug 27, 2015
@benjchristensen benjchristensen modified the milestone: 1.0.x Aug 28, 2015
@stealthcode
Copy link

👍 this seems like a valid contribution with tests.

@stevegury
Copy link
Member

👍

stealthcode pushed a commit that referenced this pull request Aug 28, 2015
Fix to Notification equals method.
@stealthcode stealthcode merged commit a369f5e into ReactiveX:1.x Aug 28, 2015
@wrightm
Copy link
Author

wrightm commented Aug 29, 2015

Thanks guys, hopefully the first of many contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants