Skip to content

Commit 18cef96

Browse files
vanniktechakarnokd
authored andcommitted
2.x: Observable + Flowable fix some typos (#4349)
1 parent 991ae34 commit 18cef96

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7281,7 +7281,7 @@ public final Flowable<T> doOnError(Consumer<? super Throwable> onError) {
72817281
}
72827282

72837283
/**
7284-
* Calls the appropriate onXXX method (shared between all Subscribers) for the lifecylcle events of
7284+
* Calls the appropriate onXXX method (shared between all Subscribers) for the lifecycle events of
72857285
* the sequence (subscription, cancellation, requesting).
72867286
* <p>
72877287
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/doOnNext.png" alt="">

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5330,7 +5330,7 @@ public U apply(T v) {
53305330
*/
53315331
@SchedulerSupport(SchedulerSupport.NONE)
53325332
public final <U> Observable<U> collect(Callable<? extends U> initialValueSupplier, BiConsumer<? super U, ? super T> collector) {
5333-
Objects.requireNonNull(initialValueSupplier, "initalValueSupplier is null");
5333+
Objects.requireNonNull(initialValueSupplier, "initialValueSupplier is null");
53345334
Objects.requireNonNull(collector, "collector is null");
53355335
return new ObservableCollect<T, U>(this, initialValueSupplier, collector);
53365336
}
@@ -6468,7 +6468,7 @@ public final Observable<T> doOnError(Consumer<? super Throwable> onError) {
64686468
}
64696469

64706470
/**
6471-
* Calls the appropriate onXXX method (shared between all Subscribers) for the lifecylcle events of
6471+
* Calls the appropriate onXXX method (shared between all Subscribers) for the lifecycle events of
64726472
* the sequence (subscription, cancellation, requesting).
64736473
* <p>
64746474
* <img width="640" height="310" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/doOnNext.png" alt="">
@@ -7041,7 +7041,7 @@ public final <U, R> Observable<R> flatMap(Function<? super T, ? extends Observab
70417041
* if true, exceptions from the current Observable and all inner ObservableSources are delayed until all of them terminate
70427042
* if false, the first one signalling an exception will terminate the whole sequence immediately
70437043
* @param bufferSize
7044-
* the number of elements to prefetch from the innner ObservableSources.
7044+
* the number of elements to prefetch from the inner ObservableSources.
70457045
* @return a Observable that emits the results of applying a function to a pair of values emitted by the
70467046
* source ObservableSource and the collection ObservableSource
70477047
* @see <a href="http://reactivex.io/documentation/operators/flatmap.html">ReactiveX operators documentation: FlatMap</a>
@@ -7869,7 +7869,7 @@ public final Observable<T> observeOn(Scheduler scheduler, boolean delayError, in
78697869
* @param <U> the output type
78707870
* @param clazz
78717871
* the class type to filter the items emitted by the source ObservableSource
7872-
* @return a Observable that emits items from the source ObservableSource of type {@code klass}
7872+
* @return a Observable that emits items from the source ObservableSource of type {@code clazz}
78737873
* @see <a href="http://reactivex.io/documentation/operators/filter.html">ReactiveX operators documentation: Filter</a>
78747874
*/
78757875
@SchedulerSupport(SchedulerSupport.NONE)

0 commit comments

Comments
 (0)