Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
@NonNull
annotation from Collector
container type parameter.
`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?>`.
- Loading branch information