Skip to content

Commit

Permalink
Fix Javadoc for Flowable and Observable reduce. (#5476)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardortlima authored and akarnokd committed Jul 9, 2017
1 parent 9b6302a commit cf6f5b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/reactivex/Flowable.java
Original file line number Diff line number Diff line change
Expand Up @@ -10745,7 +10745,7 @@ public final Maybe<T> reduce(BiFunction<T, T, T> reducer) {
}

/**
* Returns a Flowable that applies a specified accumulator function to the first item emitted by a source
* Returns a Single that applies a specified accumulator function to the first item emitted by a source
* Publisher and a specified seed value, then feeds the result of that function along with the second item
* emitted by a Publisher into the same function, and so on until all items have been emitted by the
* source Publisher, emitting the final result from the final call to your function as its sole item.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/reactivex/Observable.java
Original file line number Diff line number Diff line change
Expand Up @@ -8988,7 +8988,7 @@ public final Maybe<T> reduce(BiFunction<T, T, T> reducer) {
}

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

0 comments on commit cf6f5b8

Please sign in to comment.