From 5cfc99f03a58f272bd4d57e5825fc375bdc3d8be Mon Sep 17 00:00:00 2001 From: Pat Lackemacher Date: Fri, 21 Jul 2017 01:58:07 -0400 Subject: [PATCH] Remove unnecessary generic type parameters for delaySubscription methods in Single --- src/main/java/io/reactivex/Single.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/io/reactivex/Single.java b/src/main/java/io/reactivex/Single.java index 100da0d5b2..0551b575f3 100644 --- a/src/main/java/io/reactivex/Single.java +++ b/src/main/java/io/reactivex/Single.java @@ -1752,7 +1752,6 @@ public final Single delaySubscription(Publisher other) { *
{@code delaySubscription} does by default subscribe to the current Single * on the {@code computation} {@link Scheduler} after the delay.
* - * @param the element type of the other source * @param time the time amount to wait with the subscription * @param unit the time unit of the waiting * @return the new Single instance @@ -1760,7 +1759,7 @@ public final Single delaySubscription(Publisher other) { */ @CheckReturnValue @SchedulerSupport(SchedulerSupport.COMPUTATION) - public final Single delaySubscription(long time, TimeUnit unit) { + public final Single delaySubscription(long time, TimeUnit unit) { return delaySubscription(time, unit, Schedulers.computation()); } @@ -1771,7 +1770,6 @@ public final Single delaySubscription(long time, TimeUnit unit) { *
{@code delaySubscription} does by default subscribe to the current Single * on the {@link Scheduler} you provided, after the delay.
* - * @param the element type of the other source * @param time the time amount to wait with the subscription * @param unit the time unit of the waiting * @param scheduler the scheduler to wait on and subscribe on to the current Single @@ -1780,7 +1778,7 @@ public final Single delaySubscription(long time, TimeUnit unit) { */ @CheckReturnValue @SchedulerSupport(SchedulerSupport.CUSTOM) - public final Single delaySubscription(long time, TimeUnit unit, Scheduler scheduler) { + public final Single delaySubscription(long time, TimeUnit unit, Scheduler scheduler) { return delaySubscription(Observable.timer(time, unit, scheduler)); }