-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Remove @NonNull
annotation from Collector
container type parameter.
#7590
Conversation
`collect` delegates to `FlowableCollectWithCollectorSingle`, which does is not annotated to require a non-nullable type for its corresponding type parameter and whose implementation works fine with a null container. This PR lets Kotlin code pass a `Collector<T, A, R>`, where `A` is declared as `<A: Any?>`.
Codecov Report
@@ Coverage Diff @@
## 3.x #7590 +/- ##
=========================================
Coverage 99.53% 99.53%
+ Complexity 6802 6801 -1
=========================================
Files 752 752
Lines 47706 47706
Branches 6401 6401
=========================================
+ Hits 47482 47484 +2
+ Misses 105 99 -6
- Partials 119 123 +4
... and 11 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Wait, did I completely misread this? I need to have another look. Sorry.... |
OK, I might have it: I think that this change still makes sense. But I got confused because I was looking at the other overload of Next, I'm going to see if our code could get away with calling the overload that I'm changing in this PR. If it can, then I will still be interested in the PR, since I do think the annotations for this overload are unnecessarily strict. |
Yes: Our code can be changed to call this overload. (The code was originally written for RxJava 2, when the |
Thanks, and thank you for taking care of Observable, too. |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io.reactivex.rxjava3:rxjava](https://togithub.com/ReactiveX/RxJava) | dependencies | patch | `3.1.6` -> `3.1.7` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>ReactiveX/RxJava (io.reactivex.rxjava3:rxjava)</summary> ### [`v3.1.7`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.7) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.7%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.7) ##### API changes - Add `onDropped` callback for `onBackpressureLatest`. (<a href='https://github.com/ReactiveX/RxJava/issues/7542'>[#​7542](https://togithub.com/ReactiveX/RxJava/issues/7542)</a>) - Add `onDropped` callback to `onBackpressureBuffer`. (<a href='https://github.com/ReactiveX/RxJava/issues/7567'>[#​7567](https://togithub.com/ReactiveX/RxJava/issues/7567)</a>) ##### Documentation - Change summary to caption, because summary is obsolete in HTML5. (<a href='https://github.com/ReactiveX/RxJava/issues/7534'>[#​7534](https://togithub.com/ReactiveX/RxJava/issues/7534)</a>) - Try using https to access the reactive streams javadoc. (<a href='https://github.com/ReactiveX/RxJava/issues/7535'>[#​7535](https://togithub.com/ReactiveX/RxJava/issues/7535)</a>) - Improve Javadoc of `Disposable`. ##### Other - Add minimum GitHub token permissions for workflows. (<a href='https://github.com/ReactiveX/RxJava/issues/7541'>[#​7541](https://togithub.com/ReactiveX/RxJava/issues/7541)</a>) - Create SECURITY.md (<a href='https://github.com/ReactiveX/RxJava/issues/7546'>[#​7546](https://togithub.com/ReactiveX/RxJava/issues/7546)</a>) - Add copyright and license to jar. (<a href='https://github.com/ReactiveX/RxJava/issues/7520'>[#​7520](https://togithub.com/ReactiveX/RxJava/issues/7520)</a>) - Convert `CompletableOnErrorComplete$onError` inner class to static. (<a href='https://github.com/ReactiveX/RxJava/issues/7575'>[#​7575](https://togithub.com/ReactiveX/RxJava/issues/7575)</a>) - Allow null accumulator type in the `collect(Collector)` operators. (<a href='https://github.com/ReactiveX/RxJava/issues/7590'>[#​7590](https://togithub.com/ReactiveX/RxJava/issues/7590)</a>) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ny40IiwidXBkYXRlZEluVmVyIjoiMzYuNTcuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io.reactivex.rxjava3:rxjava](https://togithub.com/ReactiveX/RxJava) | dependencies | patch | `3.1.6` -> `3.1.7` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>ReactiveX/RxJava (io.reactivex.rxjava3:rxjava)</summary> ### [`v3.1.7`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.7) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.7%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.7) ##### API changes - Add `onDropped` callback for `onBackpressureLatest`. (<a href='https://github.com/ReactiveX/RxJava/issues/7542'>[#​7542](https://togithub.com/ReactiveX/RxJava/issues/7542)</a>) - Add `onDropped` callback to `onBackpressureBuffer`. (<a href='https://github.com/ReactiveX/RxJava/issues/7567'>[#​7567](https://togithub.com/ReactiveX/RxJava/issues/7567)</a>) ##### Documentation - Change summary to caption, because summary is obsolete in HTML5. (<a href='https://github.com/ReactiveX/RxJava/issues/7534'>[#​7534](https://togithub.com/ReactiveX/RxJava/issues/7534)</a>) - Try using https to access the reactive streams javadoc. (<a href='https://github.com/ReactiveX/RxJava/issues/7535'>[#​7535](https://togithub.com/ReactiveX/RxJava/issues/7535)</a>) - Improve Javadoc of `Disposable`. ##### Other - Add minimum GitHub token permissions for workflows. (<a href='https://github.com/ReactiveX/RxJava/issues/7541'>[#​7541](https://togithub.com/ReactiveX/RxJava/issues/7541)</a>) - Create SECURITY.md (<a href='https://github.com/ReactiveX/RxJava/issues/7546'>[#​7546](https://togithub.com/ReactiveX/RxJava/issues/7546)</a>) - Add copyright and license to jar. (<a href='https://github.com/ReactiveX/RxJava/issues/7520'>[#​7520](https://togithub.com/ReactiveX/RxJava/issues/7520)</a>) - Convert `CompletableOnErrorComplete$onError` inner class to static. (<a href='https://github.com/ReactiveX/RxJava/issues/7575'>[#​7575](https://togithub.com/ReactiveX/RxJava/issues/7575)</a>) - Allow null accumulator type in the `collect(Collector)` operators. (<a href='https://github.com/ReactiveX/RxJava/issues/7590'>[#​7590](https://togithub.com/ReactiveX/RxJava/issues/7590)</a>) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ny40IiwidXBkYXRlZEluVmVyIjoiMzYuNTcuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io.reactivex.rxjava3:rxjava](https://togithub.com/ReactiveX/RxJava) | dependencies | patch | `3.1.6` -> `3.1.7` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>ReactiveX/RxJava (io.reactivex.rxjava3:rxjava)</summary> ### [`v3.1.7`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.7) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.7%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.7) ##### API changes - Add `onDropped` callback for `onBackpressureLatest`. (<a href='https://github.com/ReactiveX/RxJava/issues/7542'>[#​7542](https://togithub.com/ReactiveX/RxJava/issues/7542)</a>) - Add `onDropped` callback to `onBackpressureBuffer`. (<a href='https://github.com/ReactiveX/RxJava/issues/7567'>[#​7567](https://togithub.com/ReactiveX/RxJava/issues/7567)</a>) ##### Documentation - Change summary to caption, because summary is obsolete in HTML5. (<a href='https://github.com/ReactiveX/RxJava/issues/7534'>[#​7534](https://togithub.com/ReactiveX/RxJava/issues/7534)</a>) - Try using https to access the reactive streams javadoc. (<a href='https://github.com/ReactiveX/RxJava/issues/7535'>[#​7535](https://togithub.com/ReactiveX/RxJava/issues/7535)</a>) - Improve Javadoc of `Disposable`. ##### Other - Add minimum GitHub token permissions for workflows. (<a href='https://github.com/ReactiveX/RxJava/issues/7541'>[#​7541](https://togithub.com/ReactiveX/RxJava/issues/7541)</a>) - Create SECURITY.md (<a href='https://github.com/ReactiveX/RxJava/issues/7546'>[#​7546](https://togithub.com/ReactiveX/RxJava/issues/7546)</a>) - Add copyright and license to jar. (<a href='https://github.com/ReactiveX/RxJava/issues/7520'>[#​7520](https://togithub.com/ReactiveX/RxJava/issues/7520)</a>) - Convert `CompletableOnErrorComplete$onError` inner class to static. (<a href='https://github.com/ReactiveX/RxJava/issues/7575'>[#​7575](https://togithub.com/ReactiveX/RxJava/issues/7575)</a>) - Allow null accumulator type in the `collect(Collector)` operators. (<a href='https://github.com/ReactiveX/RxJava/issues/7590'>[#​7590](https://togithub.com/ReactiveX/RxJava/issues/7590)</a>) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ny40IiwidXBkYXRlZEluVmVyIjoiMzYuNTcuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
…107) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.reactivex.rxjava3:rxjava](https://togithub.com/ReactiveX/RxJava) | `3.1.6` -> `3.1.7` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.reactivex.rxjava3:rxjava/3.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.reactivex.rxjava3:rxjava/3.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.reactivex.rxjava3:rxjava/3.1.6/3.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.reactivex.rxjava3:rxjava/3.1.6/3.1.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ReactiveX/RxJava (io.reactivex.rxjava3:rxjava)</summary> ### [`v3.1.7`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.7) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.7%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.7) ##### API changes - Add `onDropped` callback for `onBackpressureLatest`. (<a href='https://github.com/ReactiveX/RxJava/issues/7542'>[#​7542](https://togithub.com/ReactiveX/RxJava/issues/7542)</a>) - Add `onDropped` callback to `onBackpressureBuffer`. (<a href='https://github.com/ReactiveX/RxJava/issues/7567'>[#​7567](https://togithub.com/ReactiveX/RxJava/issues/7567)</a>) ##### Documentation - Change summary to caption, because summary is obsolete in HTML5. (<a href='https://github.com/ReactiveX/RxJava/issues/7534'>[#​7534](https://togithub.com/ReactiveX/RxJava/issues/7534)</a>) - Try using https to access the reactive streams javadoc. (<a href='https://github.com/ReactiveX/RxJava/issues/7535'>[#​7535](https://togithub.com/ReactiveX/RxJava/issues/7535)</a>) - Improve Javadoc of `Disposable`. ##### Other - Add minimum GitHub token permissions for workflows. (<a href='https://github.com/ReactiveX/RxJava/issues/7541'>[#​7541](https://togithub.com/ReactiveX/RxJava/issues/7541)</a>) - Create SECURITY.md (<a href='https://github.com/ReactiveX/RxJava/issues/7546'>[#​7546](https://togithub.com/ReactiveX/RxJava/issues/7546)</a>) - Add copyright and license to jar. (<a href='https://github.com/ReactiveX/RxJava/issues/7520'>[#​7520](https://togithub.com/ReactiveX/RxJava/issues/7520)</a>) - Convert `CompletableOnErrorComplete$onError` inner class to static. (<a href='https://github.com/ReactiveX/RxJava/issues/7575'>[#​7575](https://togithub.com/ReactiveX/RxJava/issues/7575)</a>) - Allow null accumulator type in the `collect(Collector)` operators. (<a href='https://github.com/ReactiveX/RxJava/issues/7590'>[#​7590](https://togithub.com/ReactiveX/RxJava/issues/7590)</a>) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/pachli/pachli-android). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM2LjEwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…4092) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.reactivex.rxjava3:rxjava](https://togithub.com/ReactiveX/RxJava) | `3.1.6` -> `3.1.8` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.reactivex.rxjava3:rxjava/3.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.reactivex.rxjava3:rxjava/3.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.reactivex.rxjava3:rxjava/3.1.6/3.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.reactivex.rxjava3:rxjava/3.1.6/3.1.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ReactiveX/RxJava (io.reactivex.rxjava3:rxjava)</summary> ### [`v3.1.8`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.8) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.8%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.8) ##### Bugfixes - Fix `ObservableSwitchMap` `NullPointerException` due to cancel race. ([https://github.com/ReactiveX/RxJava/pull/7597](https://togithub.com/ReactiveX/RxJava/pull/7597)) ### [`v3.1.7`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.7) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.7%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.7) ##### API changes - Add `onDropped` callback for `onBackpressureLatest`. (<a href='https://github.com/ReactiveX/RxJava/issues/7542'>[#​7542](https://togithub.com/ReactiveX/RxJava/issues/7542)</a>) - Add `onDropped` callback to `onBackpressureBuffer`. (<a href='https://github.com/ReactiveX/RxJava/issues/7567'>[#​7567](https://togithub.com/ReactiveX/RxJava/issues/7567)</a>) ##### Documentation - Change summary to caption, because summary is obsolete in HTML5. (<a href='https://github.com/ReactiveX/RxJava/issues/7534'>[#​7534](https://togithub.com/ReactiveX/RxJava/issues/7534)</a>) - Try using https to access the reactive streams javadoc. (<a href='https://github.com/ReactiveX/RxJava/issues/7535'>[#​7535](https://togithub.com/ReactiveX/RxJava/issues/7535)</a>) - Improve Javadoc of `Disposable`. ##### Other - Add minimum GitHub token permissions for workflows. (<a href='https://github.com/ReactiveX/RxJava/issues/7541'>[#​7541](https://togithub.com/ReactiveX/RxJava/issues/7541)</a>) - Create SECURITY.md (<a href='https://github.com/ReactiveX/RxJava/issues/7546'>[#​7546](https://togithub.com/ReactiveX/RxJava/issues/7546)</a>) - Add copyright and license to jar. (<a href='https://github.com/ReactiveX/RxJava/issues/7520'>[#​7520](https://togithub.com/ReactiveX/RxJava/issues/7520)</a>) - Convert `CompletableOnErrorComplete$onError` inner class to static. (<a href='https://github.com/ReactiveX/RxJava/issues/7575'>[#​7575](https://togithub.com/ReactiveX/RxJava/issues/7575)</a>) - Allow null accumulator type in the `collect(Collector)` operators. (<a href='https://github.com/ReactiveX/RxJava/issues/7590'>[#​7590](https://togithub.com/ReactiveX/RxJava/issues/7590)</a>) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMTAzLjEiLCJ0YXJnZXRCcmFuY2giOiJkZXZlbG9wIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.reactivex.rxjava3:rxjava](https://togithub.com/ReactiveX/RxJava) | `3.1.6` -> `3.1.9` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.reactivex.rxjava3:rxjava/3.1.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.reactivex.rxjava3:rxjava/3.1.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.reactivex.rxjava3:rxjava/3.1.6/3.1.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.reactivex.rxjava3:rxjava/3.1.6/3.1.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>ReactiveX/RxJava (io.reactivex.rxjava3:rxjava)</summary> ### [`v3.1.9`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.9) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.9%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.9) ##### Bugfixes - Fix `ScheduledRunnable`'s interruption logic if used from a no-interrupt `Schedulers.from`. [#​7745](https://togithub.com/ReactiveX/RxJava/pull/7745) ##### Documentation - Update the javadoc description of `cast()`. [#​7606](https://togithub.com/ReactiveX/RxJava/pull/7606) - Update `How-To-Use-RxJava.md` (ReactiveX/RxJava@d0038c9, ReactiveX/RxJava@6d63111) - Update `Readme.md` with reference to `JavaFXScheduler.platform`. (ReactiveX/RxJava@f822ffb) - Fix broken annotation links. [#​7652](https://togithub.com/ReactiveX/RxJava/pull/7652) - Update marbles for concatMap{Single|Maybe}\[DelayError] [#​7698](https://togithub.com/ReactiveX/RxJava/pull/7698) ### [`v3.1.8`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.8) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.8%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.8) ##### Bugfixes - Fix `ObservableSwitchMap` `NullPointerException` due to cancel race. ([https://github.com/ReactiveX/RxJava/pull/7597](https://togithub.com/ReactiveX/RxJava/pull/7597)) ### [`v3.1.7`](https://togithub.com/ReactiveX/RxJava/releases/tag/v3.1.7) [Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava3%7Crxjava%7C3.1.7%7C) [JavaDocs](http://reactivex.io/RxJava/3.x/javadoc/3.1.7) ##### API changes - Add `onDropped` callback for `onBackpressureLatest`. (<a href='https://github.com/ReactiveX/RxJava/issues/7542'>[#​7542](https://togithub.com/ReactiveX/RxJava/issues/7542)</a>) - Add `onDropped` callback to `onBackpressureBuffer`. (<a href='https://github.com/ReactiveX/RxJava/issues/7567'>[#​7567](https://togithub.com/ReactiveX/RxJava/issues/7567)</a>) ##### Documentation - Change summary to caption, because summary is obsolete in HTML5. (<a href='https://github.com/ReactiveX/RxJava/issues/7534'>[#​7534](https://togithub.com/ReactiveX/RxJava/issues/7534)</a>) - Try using https to access the reactive streams javadoc. (<a href='https://github.com/ReactiveX/RxJava/issues/7535'>[#​7535](https://togithub.com/ReactiveX/RxJava/issues/7535)</a>) - Improve Javadoc of `Disposable`. ##### Other - Add minimum GitHub token permissions for workflows. (<a href='https://github.com/ReactiveX/RxJava/issues/7541'>[#​7541](https://togithub.com/ReactiveX/RxJava/issues/7541)</a>) - Create SECURITY.md (<a href='https://github.com/ReactiveX/RxJava/issues/7546'>[#​7546](https://togithub.com/ReactiveX/RxJava/issues/7546)</a>) - Add copyright and license to jar. (<a href='https://github.com/ReactiveX/RxJava/issues/7520'>[#​7520](https://togithub.com/ReactiveX/RxJava/issues/7520)</a>) - Convert `CompletableOnErrorComplete$onError` inner class to static. (<a href='https://github.com/ReactiveX/RxJava/issues/7575'>[#​7575](https://togithub.com/ReactiveX/RxJava/issues/7575)</a>) - Allow null accumulator type in the `collect(Collector)` operators. (<a href='https://github.com/ReactiveX/RxJava/issues/7590'>[#​7590](https://togithub.com/ReactiveX/RxJava/issues/7590)</a>) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/elijah-team/congenial-robot). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6IjIwMjQtY29uZ2VuaWFsLXVwZGF0ZSIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
collect
delegates toFlowableCollectWithCollectorSingle
, whichis not annotated to require a non-nullable type for its corresponding
type parameter and whose implementation works fine with a null
container.
This PR lets Kotlin code pass a
Collector<T, A, R>
, whereA
isdeclared as
<A: Any?>
.