From d2f1ca325c7e68739206fda0abc68da5ebc35293 Mon Sep 17 00:00:00 2001 From: Yannick Lecaillez Date: Mon, 3 Sep 2018 13:45:28 +0200 Subject: [PATCH] #6195 Fix Flowable.reduce(BiFunction) JavaDoc Empty source does not signal NoSuchElementException. --- src/main/java/io/reactivex/Flowable.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/io/reactivex/Flowable.java b/src/main/java/io/reactivex/Flowable.java index bab8443357..0abe33c93c 100644 --- a/src/main/java/io/reactivex/Flowable.java +++ b/src/main/java/io/reactivex/Flowable.java @@ -12130,8 +12130,6 @@ public final Flowable rebatchRequests(int n) { * Publisher into the same function, and so on until all items have been emitted by the finite source Publisher, * and emits the final result from the final call to your function as its sole item. *

- * If the source is empty, a {@code NoSuchElementException} is signaled. - *

* *

* This technique, which is called "reduce" here, is sometimes called "aggregate," "fold," "accumulate,"