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

2.x: coverage, fixes, cleanup 10/15-1 #4708

Merged
merged 2 commits into from
Oct 15, 2016

Conversation

akarnokd
Copy link
Member

  • improve coverage of Observable operators
  • remove unnecessary code paths
  • fix publish(Function) latecommer behavior
  • remove bufferSize overloads of publish as there is no need to buffer anything for an Observable
  • simplify Observable.publish

@codecov-io
Copy link

codecov-io commented Oct 15, 2016

Current coverage is 87.19% (diff: 95.52%)

Merging #4708 into 2.x will increase coverage by 0.98%

@@                2.x      #4708   diff @@
==========================================
  Files           567        568     +1   
  Lines         37154      37061    -93   
  Methods           0          0          
  Messages          0          0          
  Branches       5680       5648    -32   
==========================================
+ Hits          32032      32316   +284   
+ Misses         3360       3042   -318   
+ Partials       1762       1703    -59   

Powered by Codecov. Last update d250ae7...45eaba1

@@ -185,21 +183,14 @@ public void onNext(T t) {
U b;

try {
b = bufferSupplier.call();
b = ObjectHelper.requireNonNull(bufferSupplier.call(), "onNext called with null. Null values are generally not allowed in 2.x operators and sources.");
Copy link
Contributor

Choose a reason for hiding this comment

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

"onNext" --> "bufferSupplier"

@akarnokd akarnokd merged commit 637978c into ReactiveX:2.x Oct 15, 2016
@akarnokd akarnokd deleted the Coverage_10_15_1 branch October 15, 2016 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants