Skip to content

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

Merged
akarnokd merged 2 commits intoReactiveX:2.xfrom
akarnokd:Coverage_10_15_1
Oct 15, 2016
Merged

2.x: coverage, fixes, cleanup 10/15-1#4708
akarnokd merged 2 commits intoReactiveX:2.xfrom
akarnokd:Coverage_10_15_1

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


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