From 63a59319b9dba4890f2ade93b86ec430fcd7aae9 Mon Sep 17 00:00:00 2001 From: Dave Moten Date: Wed, 12 Oct 2016 18:07:28 +1100 Subject: [PATCH] 2.x - improve timer javadoc (#4694) --- src/main/java/io/reactivex/Flowable.java | 8 ++++---- src/main/java/io/reactivex/Maybe.java | 8 ++++---- src/main/java/io/reactivex/Observable.java | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/io/reactivex/Flowable.java b/src/main/java/io/reactivex/Flowable.java index 55d4c79cc4..d373415f3f 100644 --- a/src/main/java/io/reactivex/Flowable.java +++ b/src/main/java/io/reactivex/Flowable.java @@ -3784,7 +3784,7 @@ public static Flowable switchOnNextDelayError(Publisher * *
@@ -3799,7 +3799,7 @@ public static Flowable switchOnNextDelayError(PublisherReactiveX operators documentation: Timer */ @BackpressureSupport(BackpressureKind.ERROR) @@ -3809,7 +3809,7 @@ public static Flowable timer(long delay, TimeUnit unit) { } /** - * Returns a Flowable that emits one item after a specified delay, on a specified Scheduler, and then + * Returns a Flowable that emits {@code 0L} after a specified delay, on a specified Scheduler, and then * completes. *

* @@ -3827,7 +3827,7 @@ public static Flowable timer(long delay, TimeUnit unit) { * time units to use for {@code delay} * @param scheduler * the {@link Scheduler} to use for scheduling the item - * @return a Flowable that emits one item after a specified delay, on a specified Scheduler, and then + * @return a Flowable that emits {@code 0L} after a specified delay, on a specified Scheduler, and then * completes * @see ReactiveX operators documentation: Timer */ diff --git a/src/main/java/io/reactivex/Maybe.java b/src/main/java/io/reactivex/Maybe.java index 05ca0dba16..a7e71be142 100644 --- a/src/main/java/io/reactivex/Maybe.java +++ b/src/main/java/io/reactivex/Maybe.java @@ -1264,7 +1264,7 @@ public static Single sequenceEqual(MaybeSource source1 } /** - * Returns a Maybe that emits one item after a specified delay. + * Returns a Maybe that emits {@code 0L} after a specified delay. *

* *

@@ -1276,7 +1276,7 @@ public static Single sequenceEqual(MaybeSource source1 * the initial delay before emitting a single {@code 0L} * @param unit * time units to use for {@code delay} - * @return a Maybe that emits one item after a specified delay + * @return a Maybe that emits {@code 0L} after a specified delay * @see ReactiveX operators documentation: Timer */ @SchedulerSupport(SchedulerSupport.COMPUTATION) @@ -1285,7 +1285,7 @@ public static Maybe timer(long delay, TimeUnit unit) { } /** - * Returns a Maybe that emits one item after a specified delay on a specified Scheduler. + * Returns a Maybe that emits {@code 0L} after a specified delay on a specified Scheduler. *

* *

@@ -1299,7 +1299,7 @@ public static Maybe timer(long delay, TimeUnit unit) { * time units to use for {@code delay} * @param scheduler * the {@link Scheduler} to use for scheduling the item - * @return a Maybe that emits one item after a specified delay, on a specified Scheduler + * @return a Maybe that emits {@code 0L} after a specified delay, on a specified Scheduler * @see ReactiveX operators documentation: Timer */ @SchedulerSupport(SchedulerSupport.CUSTOM) diff --git a/src/main/java/io/reactivex/Observable.java b/src/main/java/io/reactivex/Observable.java index fecbeefae5..e8b51ffaf1 100644 --- a/src/main/java/io/reactivex/Observable.java +++ b/src/main/java/io/reactivex/Observable.java @@ -3282,7 +3282,7 @@ public static Observable switchOnNextDelayError(ObservableSource * *
@@ -3294,7 +3294,7 @@ public static Observable switchOnNextDelayError(ObservableSourceReactiveX operators documentation: Timer */ @SchedulerSupport(SchedulerSupport.COMPUTATION) @@ -3303,7 +3303,7 @@ public static Observable timer(long delay, TimeUnit unit) { } /** - * Returns an Observable that emits one item after a specified delay, on a specified Scheduler, and then + * Returns an Observable that emits {@code 0L} after a specified delay, on a specified Scheduler, and then * completes. *

* @@ -3318,7 +3318,7 @@ public static Observable timer(long delay, TimeUnit unit) { * time units to use for {@code delay} * @param scheduler * the {@link Scheduler} to use for scheduling the item - * @return an Observable that emits one item after a specified delay, on a specified Scheduler, and then + * @return an Observable that emits {@code 0L} after a specified delay, on a specified Scheduler, and then * completes * @see ReactiveX operators documentation: Timer */