Skip to content

Commit 7db813f

Browse files
committed
make javadocs for reduce() more precise (#1856)
1 parent 2c63ebd commit 7db813f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/rx/Observable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5357,7 +5357,7 @@ public final <R> Observable<R> publish(Func1<? super Observable<T>, ? extends Ob
53575357
}
53585358

53595359
/**
5360-
* Returns an Observable that applies a function of your choosing to the first item emitted by a source
5360+
* Returns an Observable that applies a specified accumulator function to the first item emitted by a source
53615361
* Observable, then feeds the result of that function along with the second item emitted by the source
53625362
* Observable into the same function, and so on until all items have been emitted by the source Observable,
53635363
* and emits the final result from the final call to your function as its sole item.
@@ -5397,7 +5397,7 @@ public final Observable<T> reduce(Func2<T, T, T> accumulator) {
53975397
}
53985398

53995399
/**
5400-
* Returns an Observable that applies a function of your choosing to the first item emitted by a source
5400+
* Returns an Observable that applies a specified accumulator function to the first item emitted by a source
54015401
* Observable and a specified seed value, then feeds the result of that function along with the second item
54025402
* emitted by an Observable into the same function, and so on until all items have been emitted by the
54035403
* source Observable, emitting the final result from the final call to your function as its sole item.
@@ -5431,7 +5431,7 @@ public final <R> Observable<R> reduce(R initialValue, Func2<R, ? super T, R> acc
54315431
}
54325432

54335433
/**
5434-
* Returns an Observable that applies a function of your choosing to the first item emitted by a source
5434+
* Returns an Observable that applies a specified accumulator function to the first item emitted by a source
54355435
* Observable and a specified seed value, then feeds the result of that function along with the second item
54365436
* emitted by an Observable into the same function, and so on until all items have been emitted by the
54375437
* source Observable, emitting the final result from the final call to your function as its sole item.

0 commit comments

Comments
 (0)