diff --git a/src/main/java/io/reactivex/Observable.java b/src/main/java/io/reactivex/Observable.java index abe9fe1ba6..8b4c33988c 100644 --- a/src/main/java/io/reactivex/Observable.java +++ b/src/main/java/io/reactivex/Observable.java @@ -8923,12 +8923,12 @@ public final Maybe reduce(BiFunction reducer) { * the application of this operator via {@link #defer(Callable)}: *

      * ObservableSource<T> source = ...
-     * ObservableSource.defer(() -> source.reduce(new ArrayList<>(), (list, item) -> list.add(item)));
+     * Observable.defer(() -> source.reduce(new ArrayList<>(), (list, item) -> list.add(item)));
      *
      * // alternatively, by using compose to stay fluent
      *
      * source.compose(o ->
-     *     ObservableSource.defer(() -> o.reduce(new ArrayList<>(), (list, item) -> list.add(item)))
+     *     Observable.defer(() -> o.reduce(new ArrayList<>(), (list, item) -> list.add(item)))
      * );
      * 
*
@@ -8972,12 +8972,12 @@ public final Single reduce(R seed, BiFunction reducer) { * the application of this operator via {@link #defer(Callable)}: *

      * ObservableSource<T> source = ...
-     * ObservableSource.defer(() -> source.reduce(new ArrayList<>(), (list, item) -> list.add(item)));
+     * Observable.defer(() -> source.reduce(new ArrayList<>(), (list, item) -> list.add(item)));
      *
      * // alternatively, by using compose to stay fluent
      *
      * source.compose(o ->
-     *     ObservableSource.defer(() -> o.reduce(new ArrayList<>(), (list, item) -> list.add(item)))
+     *     Observable.defer(() -> o.reduce(new ArrayList<>(), (list, item) -> list.add(item)))
      * );
      * 
*
@@ -10034,12 +10034,12 @@ public final Observable scan(BiFunction accumulator) { * the application of this operator via {@link #defer(Callable)}: *

      * ObservableSource<T> source = ...
-     * ObservableSource.defer(() -> source.scan(new ArrayList<>(), (list, item) -> list.add(item)));
+     * Observable.defer(() -> source.scan(new ArrayList<>(), (list, item) -> list.add(item)));
      *
      * // alternatively, by using compose to stay fluent
      *
      * source.compose(o ->
-     *     ObservableSource.defer(() -> o.scan(new ArrayList<>(), (list, item) -> list.add(item)))
+     *     Observable.defer(() -> o.scan(new ArrayList<>(), (list, item) -> list.add(item)))
      * );
      * 
*
@@ -10083,12 +10083,12 @@ public final Observable scan(final R initialValue, BiFunction * ObservableSource<T> source = ... - * ObservableSource.defer(() -> source.scan(new ArrayList<>(), (list, item) -> list.add(item))); + * Observable.defer(() -> source.scan(new ArrayList<>(), (list, item) -> list.add(item))); * * // alternatively, by using compose to stay fluent * * source.compose(o -> - * ObservableSource.defer(() -> o.scan(new ArrayList<>(), (list, item) -> list.add(item))) + * Observable.defer(() -> o.scan(new ArrayList<>(), (list, item) -> list.add(item))) * ); * *