@@ -873,6 +873,9 @@ public static Single<Long> timer(long delay, TimeUnit unit) {
873
873
* @param unit the time unit of the delay
874
874
* @param scheduler the scheduler where the single 0L will be emitted
875
875
* @return the new Single instance
876
+ * @throws NullPointerException
877
+ * if unit is null, or
878
+ * if scheduler is null
876
879
* @since 2.0
877
880
*/
878
881
@ CheckReturnValue
@@ -1643,6 +1646,9 @@ public final Single<T> delay(long time, TimeUnit unit) {
1643
1646
* @param unit the time unit
1644
1647
* @param scheduler the target scheduler to use for the non-blocking wait and emission
1645
1648
* @return the new Single instance
1649
+ * @throws NullPointerException
1650
+ * if unit is null, or
1651
+ * if scheduler is null
1646
1652
* @since 2.0
1647
1653
*/
1648
1654
@ CheckReturnValue
@@ -2285,6 +2291,7 @@ public final Flowable<T> mergeWith(SingleSource<? extends T> other) {
2285
2291
* the {@link Scheduler} to notify subscribers on
2286
2292
* @return the source Single modified so that its subscribers are notified on the specified
2287
2293
* {@link Scheduler}
2294
+ * @throws NullPointerException if scheduler is null
2288
2295
* @see <a href="http://reactivex.io/documentation/operators/observeon.html">ReactiveX operators documentation: ObserveOn</a>
2289
2296
* @see <a href="http://www.grahamlea.com/2014/07/rxjava-threading-examples/">RxJava Threading Examples</a>
2290
2297
* @see #subscribeOn
@@ -2919,6 +2926,10 @@ public final Single<T> timeout(long timeout, TimeUnit unit, Scheduler scheduler,
2919
2926
* @param unit the time unit
2920
2927
* @param other the other SingleSource that gets subscribed to if the current Single times out
2921
2928
* @return the new Single instance
2929
+ * @throws NullPointerException
2930
+ * if other is null, or
2931
+ * if unit is null, or
2932
+ * if scheduler is null
2922
2933
* @since 2.0
2923
2934
*/
2924
2935
@ CheckReturnValue
0 commit comments