diff --git a/src/main/java/io/reactivex/rxjava3/core/Flowable.java b/src/main/java/io/reactivex/rxjava3/core/Flowable.java index 4da8b6fd53..b5c52c2583 100644 --- a/src/main/java/io/reactivex/rxjava3/core/Flowable.java +++ b/src/main/java/io/reactivex/rxjava3/core/Flowable.java @@ -14675,10 +14675,9 @@ public final Flowable sample(@NonNull Publisher sampler, boolean emitL } /** - * Returns a {@code Flowable} that applies a specified accumulator function to the first item emitted by the current - * {@code Flowable}, then feeds the result of that function along with the second item emitted by the current - * {@code Floawble} into the same function, and so on until all items have been emitted by the current {@code Flowable}, - * emitting the result of each of these iterations. + * Returns a {@code Flowable} that emits the first value emitted by the current {@code Flowable}, then emits one value + * for each subsequent value emitted by the current {@code Flowable}. Each emission after the first is the result of + * applying the specified accumulator function to the previous emission and the corresponding value from the current @{code Flowable}. *

* *

@@ -14709,10 +14708,9 @@ public final Flowable scan(@NonNull BiFunction accumulator) { } /** - * Returns a {@code Flowable} that applies a specified accumulator function to the first item emitted by the current - * {@code Flowable} and a seed value, then feeds the result of that function along with the second item emitted by - * the current {@code Flowable} into the same function, and so on until all items have been emitted by the current - * {@code Flowable}, emitting the result of each of these iterations. + * Returns a {@code Flowable} that emits the provided initial (seed) value, then emits one value for each value emitted + * by the current {@code Flowable}. Each emission after the first is the result of applying the specified accumulator + * function to the previous emission and the corresponding value from the current @{code Flowable}. *

* *

@@ -14763,10 +14761,9 @@ public final Flowable scan(@NonNull BiFunction accumulator) { } /** - * Returns a {@code Flowable} that applies a specified accumulator function to the first item emitted by the current - * {@code Flowable} and a seed value, then feeds the result of that function along with the second item emitted by - * the current {@code Flowable} into the same function, and so on until all items have been emitted by the current - * {@code Flowable}, emitting the result of each of these iterations. + * Returns a {@code Flowable} that emits the provided initial (seed) value, then emits one value for each value emitted + * by the current {@code Flowable}. Each emission after the first is the result of applying the specified accumulator + * function to the previous emission and the corresponding value from the current @{code Flowable}. *

* *

diff --git a/src/main/java/io/reactivex/rxjava3/core/Observable.java b/src/main/java/io/reactivex/rxjava3/core/Observable.java index 366e2bdd51..3332b624b2 100644 --- a/src/main/java/io/reactivex/rxjava3/core/Observable.java +++ b/src/main/java/io/reactivex/rxjava3/core/Observable.java @@ -12202,10 +12202,9 @@ public final Observable sample(@NonNull ObservableSource sampler, bool } /** - * Returns an {@code Observable} that applies a specified accumulator function to the first item emitted by the current - * {@code Observable}, then feeds the result of that function along with the second item emitted by the current - * {@code Observable} into the same function, and so on until all items have been emitted by the current {@code Observable}, - * emitting the result of each of these iterations. + * Returns an {@code Observable} that emits the first value emitted by the current {@code Observable}, then emits one value + * for each subsequent value emitted by the current {@code Observable}. Each emission after the first is the result of + * applying the specified accumulator function to the previous emission and the corresponding value from the current @{code Observable}. *

* *

@@ -12232,10 +12231,9 @@ public final Observable scan(@NonNull BiFunction accumulator) { } /** - * Returns an {@code Observable} that applies a specified accumulator function to the first item emitted by the current - * {@code Observable} and a seed value, then feeds the result of that function along with the second item emitted by - * the current {@code Observable} into the same function, and so on until all items have been emitted by the current - * {@code Observable}, emitting the result of each of these iterations. + * Returns an {@code Observable} that emits the provided initial (seed) value, then emits one value for each value emitted + * by the current {@code Observable}. Each emission after the first is the result of applying the specified accumulator + * function to the previous emission and the corresponding value from the current @{code Observable}. *

* *

@@ -12282,10 +12280,9 @@ public final Observable scan(@NonNull R initialValue, @NonNull BiFunction } /** - * Returns an {@code Observable} that applies a specified accumulator function to the first item emitted by the current - * {@code Observable} and a seed value, then feeds the result of that function along with the second item emitted by - * the current {@code Observable} into the same function, and so on until all items have been emitted by the current - * {@code Observable}, emitting the result of each of these iterations. + * Returns an {@code Observable} that emits the provided initial (seed) value, then emits one value for each value emitted + * by the current {@code Observable}. Each emission after the first is the result of applying the specified accumulator + * function to the previous emission and the corresponding value from the current @{code Observable}. *

* *