@@ -5450,7 +5450,7 @@ public final <R> Observable<R> reduce(R initialValue, Func2<R, ? super T, R> acc
5450
5450
* </dl>
5451
5451
*
5452
5452
* @param initialValueFactory
5453
- * factory to produce the initial (seed) accumulator item each time the Observable is subscribed to
5453
+ * factory to produce the initial (seed) accumulator item each time the Observable is subscribed to
5454
5454
* @param accumulator
5455
5455
* an accumulator function to be invoked on each item emitted by the source Observable, the
5456
5456
* result of which will be used in the next accumulator call
@@ -6537,8 +6537,8 @@ public final <R> Observable<R> scan(R initialValue, Func2<R, ? super T, R> accum
6537
6537
* <p>
6538
6538
* This sort of function is sometimes called an accumulator.
6539
6539
* <p>
6540
- * Note that the Observable that results from this method will emit {@code initialValue} as its first
6541
- * emitted item.
6540
+ * Note that the Observable that results from this method will emit the item returned from
6541
+ * {@code initialValueFactory} as its first emitted item.
6542
6542
* <dl>
6543
6543
* <dt><b>Scheduler:</b></dt>
6544
6544
* <dd>{@code scan} does not operate by default on a particular {@link Scheduler}.</dd>
@@ -6550,8 +6550,8 @@ public final <R> Observable<R> scan(R initialValue, Func2<R, ? super T, R> accum
6550
6550
* an accumulator function to be invoked on each item emitted by the source Observable, whose
6551
6551
* result will be emitted to {@link Observer}s via {@link Observer#onNext onNext} and used in the
6552
6552
* next accumulator call
6553
- * @return an Observable that emits {@code initialValue } followed by the results of each call to the
6554
- * accumulator function
6553
+ * @return an Observable that emits the item returned from {@code initialValueFactory } followed by the
6554
+ * results of each call to the accumulator function
6555
6555
* @see <a href="https://github.com/ReactiveX/RxJava/wiki/Transforming-Observables#scan">RxJava wiki: scan</a>
6556
6556
* @see <a href="http://msdn.microsoft.com/en-us/library/hh211665.aspx">MSDN: Observable.Scan</a>
6557
6557
*/
0 commit comments