Skip to content

Commit 205fea6

Browse files
ylecaillezakarnokd
authored andcommitted
#6195 Fix Flowable.reduce(BiFunction) JavaDoc (#6197)
Empty source does not signal NoSuchElementException.
1 parent c7d91c6 commit 205fea6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/io/reactivex/Flowable.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12130,8 +12130,6 @@ public final Flowable<T> rebatchRequests(int n) {
1213012130
* Publisher into the same function, and so on until all items have been emitted by the finite source Publisher,
1213112131
* and emits the final result from the final call to your function as its sole item.
1213212132
* <p>
12133-
* If the source is empty, a {@code NoSuchElementException} is signaled.
12134-
* <p>
1213512133
* <img width="640" height="320" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/reduce.png" alt="">
1213612134
* <p>
1213712135
* This technique, which is called "reduce" here, is sometimes called "aggregate," "fold," "accumulate,"

0 commit comments

Comments
 (0)