Skip to content

Commit cf6f5b8

Browse files
leonardortlimaakarnokd
authored andcommitted
Fix Javadoc for Flowable and Observable reduce. (#5476)
1 parent 9b6302a commit cf6f5b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10745,7 +10745,7 @@ public final Maybe<T> reduce(BiFunction<T, T, T> reducer) {
1074510745
}
1074610746

1074710747
/**
10748-
* Returns a Flowable that applies a specified accumulator function to the first item emitted by a source
10748+
* Returns a Single that applies a specified accumulator function to the first item emitted by a source
1074910749
* Publisher and a specified seed value, then feeds the result of that function along with the second item
1075010750
* emitted by a Publisher into the same function, and so on until all items have been emitted by the
1075110751
* source Publisher, emitting the final result from the final call to your function as its sole item.

src/main/java/io/reactivex/Observable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8988,7 +8988,7 @@ public final Maybe<T> reduce(BiFunction<T, T, T> reducer) {
89888988
}
89898989

89908990
/**
8991-
* Returns an Observable that applies a specified accumulator function to the first item emitted by a source
8991+
* Returns a Single that applies a specified accumulator function to the first item emitted by a source
89928992
* ObservableSource and a specified seed value, then feeds the result of that function along with the second item
89938993
* emitted by an ObservableSource into the same function, and so on until all items have been emitted by the
89948994
* source ObservableSource, emitting the final result from the final call to your function as its sole item.

0 commit comments

Comments
 (0)