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

BugFix: Emit an IllegalArgumentException instead of ArithmeticException if the observable is empty #480

Merged
merged 1 commit into from
Nov 12, 2013

Conversation

zsxwing
Copy link
Member

@zsxwing zsxwing commented Nov 8, 2013

This PR fixed the average issue in #423. If an observable is empty, average will emit an IllegalArgumentException instead of ArithmeticException. Thanks!

@cloudbees-pull-request-builder

RxJava-pull-requests #405 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Nov 12, 2013
BugFix: Emit an IllegalArgumentException instead of ArithmeticException if the observable is empty
@benjchristensen benjchristensen merged commit ba1c4e8 into ReactiveX:master Nov 12, 2013
@zsxwing zsxwing deleted the issue-423-average branch November 13, 2013 02:36
rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
BugFix: Emit an IllegalArgumentException instead of ArithmeticException if the observable is empty
jihoonson pushed a commit to jihoonson/RxJava that referenced this pull request Mar 6, 2020
…andled co… (ReactiveX#484)

* Issue ReactiveX#480: Fixed a bug that CompletiongStage<Void> wasn't handled correctly in CircuitBreaker and Retry as the result was always null.
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