@@ -204,7 +204,7 @@ public static <T> Flowable<T> concat(
204
204
* <dt><b>Backpressure:</b><dt>
205
205
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer and
206
206
* expects the {@code Publisher} to honor backpressure as well. If the sources {@code Publisher}
207
- * violates this, a {@code MissingBackpressurException } is signalled.</dd>
207
+ * violates this, a {@link io.reactivex.exceptions.MissingBackpressureException } is signalled.</dd>
208
208
* <dt><b>Scheduler:</b></dt>
209
209
* <dd>{@code concat} does not operate by default on a particular {@link Scheduler}.</dd>
210
210
* </dl>
@@ -225,7 +225,7 @@ public static <T> Flowable<T> concat(Publisher<? extends MaybeSource<? extends T
225
225
* <dt><b>Backpressure:</b><dt>
226
226
* <dd>The returned {@code Flowable} honors the backpressure of the downstream consumer and
227
227
* expects the {@code Publisher} to honor backpressure as well. If the sources {@code Publisher}
228
- * violates this, a {@code MissingBackpressurException } is signalled.</dd>
228
+ * violates this, a {@link io.reactivex.exceptions.MissingBackpressureException } is signalled.</dd>
229
229
* <dt><b>Scheduler:</b></dt>
230
230
* <dd>{@code concat} does not operate by default on a particular {@link Scheduler}.</dd>
231
231
* </dl>
@@ -399,7 +399,7 @@ public static <T> Flowable<T> concatEager(Iterable<? extends MaybeSource<? exten
399
399
* <dt><b>Backpressure:</b></dt>
400
400
* <dd>Backpressure is honored towards the downstream and the outer Publisher is
401
401
* expected to support backpressure. Violating this assumption, the operator will
402
- * signal {@code MissingBackpressureException}.</dd>
402
+ * signal {@link io.reactivex.exceptions. MissingBackpressureException}.</dd>
403
403
* <dt><b>Scheduler:</b></dt>
404
404
* <dd>This method does not operate by default on a particular {@link Scheduler}.</dd>
405
405
* </dl>
@@ -1293,7 +1293,8 @@ public static <T> Maybe<T> unsafeCreate(MaybeSource<T> onSubscribe) {
1293
1293
}
1294
1294
1295
1295
/**
1296
- * Constructs a Maybe that creates a dependent resource object which is disposed of on unsubscription.
1296
+ * Constructs a Maybe that creates a dependent resource object which is disposed of when the
1297
+ * upstream terminates or the downstream calls dispose().
1297
1298
* <p>
1298
1299
* <img width="640" height="400" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/using.png" alt="">
1299
1300
* <dl>
@@ -1321,8 +1322,8 @@ public static <T, D> Maybe<T> using(Callable<? extends D> resourceSupplier,
1321
1322
1322
1323
/**
1323
1324
* Constructs a Maybe that creates a dependent resource object which is disposed of just before
1324
- * termination if you have set {@code disposeEagerly} to {@code true} and unsubscription does not occur
1325
- * before termination. Otherwise resource disposal will occur on unsubscription . Eager disposal is
1325
+ * termination if you have set {@code disposeEagerly} to {@code true} and a downstream dispose() does not occur
1326
+ * before termination. Otherwise resource disposal will occur on call to dispose() . Eager disposal is
1326
1327
* particularly appropriate for a synchronous Maybe that reuses resources. {@code disposeAction} will
1327
1328
* only be called once per subscription.
1328
1329
* <p>
@@ -1341,7 +1342,7 @@ public static <T, D> Maybe<T> using(Callable<? extends D> resourceSupplier,
1341
1342
* @param resourceDisposer
1342
1343
* the function that will dispose of the resource
1343
1344
* @param eager
1344
- * if {@code true} then disposal will happen either on unsubscription or just before emission of
1345
+ * if {@code true} then disposal will happen either on a dispose() call or just before emission of
1345
1346
* a terminal event ({@code onComplete} or {@code onError}).
1346
1347
* @return the Maybe whose lifetime controls the lifetime of the dependent resource object
1347
1348
* @see <a href="http://reactivex.io/documentation/operators/using.html">ReactiveX operators documentation: Using</a>
@@ -3003,13 +3004,13 @@ public final Maybe<T> onExceptionResumeNext(final MaybeSource<? extends T> next)
3003
3004
}
3004
3005
/**
3005
3006
* Nulls out references to the upstream producer and downstream MaybeObserver if
3006
- * the sequence is terminated or downstream unsubscribes .
3007
+ * the sequence is terminated or downstream calls dispose() .
3007
3008
* <dl>
3008
3009
* <dt><b>Scheduler:</b></dt>
3009
3010
* <dd>{@code onTerminateDetach} does not operate by default on a particular {@link Scheduler}.</dd>
3010
3011
* </dl>
3011
3012
* @return a Maybe which out references to the upstream producer and downstream MaybeObserver if
3012
- * the sequence is terminated or downstream unsubscribes
3013
+ * the sequence is terminated or downstream calls dispose()
3013
3014
*/
3014
3015
@ SchedulerSupport (SchedulerSupport .NONE )
3015
3016
public final Maybe <T > onTerminateDetach () {
@@ -3649,7 +3650,7 @@ public final Maybe<T> timeout(long timeout, TimeUnit timeUnit, Scheduler schedul
3649
3650
*/
3650
3651
@ SchedulerSupport (SchedulerSupport .NONE )
3651
3652
public final <U > Maybe <T > timeout (MaybeSource <U > timeoutIndicator ) {
3652
- ObjectHelper .requireNonNull (timeoutIndicator , "timoutIndicator is null" );
3653
+ ObjectHelper .requireNonNull (timeoutIndicator , "timeoutIndicator is null" );
3653
3654
return RxJavaPlugins .onAssembly (new MaybeTimeoutMaybe <T , U >(this , timeoutIndicator , null ));
3654
3655
}
3655
3656
@@ -3669,7 +3670,7 @@ public final <U> Maybe<T> timeout(MaybeSource<U> timeoutIndicator) {
3669
3670
*/
3670
3671
@ SchedulerSupport (SchedulerSupport .NONE )
3671
3672
public final <U > Maybe <T > timeout (MaybeSource <U > timeoutIndicator , MaybeSource <? extends T > fallback ) {
3672
- ObjectHelper .requireNonNull (timeoutIndicator , "timoutIndicator is null" );
3673
+ ObjectHelper .requireNonNull (timeoutIndicator , "timeoutIndicator is null" );
3673
3674
ObjectHelper .requireNonNull (fallback , "fallback is null" );
3674
3675
return RxJavaPlugins .onAssembly (new MaybeTimeoutMaybe <T , U >(this , timeoutIndicator , fallback ));
3675
3676
}
@@ -3692,7 +3693,7 @@ public final <U> Maybe<T> timeout(MaybeSource<U> timeoutIndicator, MaybeSource<?
3692
3693
@ BackpressureSupport (BackpressureKind .UNBOUNDED_IN )
3693
3694
@ SchedulerSupport (SchedulerSupport .NONE )
3694
3695
public final <U > Maybe <T > timeout (Publisher <U > timeoutIndicator ) {
3695
- ObjectHelper .requireNonNull (timeoutIndicator , "timoutIndicator is null" );
3696
+ ObjectHelper .requireNonNull (timeoutIndicator , "timeoutIndicator is null" );
3696
3697
return RxJavaPlugins .onAssembly (new MaybeTimeoutPublisher <T , U >(this , timeoutIndicator , null ));
3697
3698
}
3698
3699
@@ -3716,7 +3717,7 @@ public final <U> Maybe<T> timeout(Publisher<U> timeoutIndicator) {
3716
3717
@ BackpressureSupport (BackpressureKind .UNBOUNDED_IN )
3717
3718
@ SchedulerSupport (SchedulerSupport .NONE )
3718
3719
public final <U > Maybe <T > timeout (Publisher <U > timeoutIndicator , MaybeSource <? extends T > fallback ) {
3719
- ObjectHelper .requireNonNull (timeoutIndicator , "timoutIndicator is null" );
3720
+ ObjectHelper .requireNonNull (timeoutIndicator , "timeoutIndicator is null" );
3720
3721
ObjectHelper .requireNonNull (fallback , "fallback is null" );
3721
3722
return RxJavaPlugins .onAssembly (new MaybeTimeoutPublisher <T , U >(this , timeoutIndicator , fallback ));
3722
3723
}
0 commit comments