From ca37f6985cf93f24d06041bd75c4a01985c21a46 Mon Sep 17 00:00:00 2001 From: Zac Sweers Date: Mon, 4 Dec 2017 15:10:37 -0800 Subject: [PATCH] Fix docs to point to correct method (#145) --- .../uber/autodispose/kotlin/autodispose.kt | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/autodispose-kotlin/src/main/kotlin/com/uber/autodispose/kotlin/autodispose.kt b/autodispose-kotlin/src/main/kotlin/com/uber/autodispose/kotlin/autodispose.kt index 680657baf..5244bd6f7 100644 --- a/autodispose-kotlin/src/main/kotlin/com/uber/autodispose/kotlin/autodispose.kt +++ b/autodispose-kotlin/src/main/kotlin/com/uber/autodispose/kotlin/autodispose.kt @@ -35,7 +35,7 @@ import io.reactivex.annotations.CheckReturnValue import kotlin.DeprecationLevel.WARNING /** - * Extension that proxies to [Flowable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Flowable.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -48,7 +48,7 @@ inline fun Flowable.autoDisposeWith(scope: Maybe<*>): FlowableSubscribePr = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Observable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Observable.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -61,7 +61,7 @@ inline fun Observable.autoDisposeWith(scope: Maybe<*>): ObservableSubscri = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Single.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Single.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -74,7 +74,7 @@ inline fun Single.autoDisposeWith(scope: Maybe<*>): SingleSubscribeProxy< = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Maybe.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Maybe.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -87,7 +87,7 @@ inline fun Maybe.autoDisposeWith(scope: Maybe<*>): MaybeSubscribeProxy = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Completable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Completable.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -100,7 +100,7 @@ inline fun Completable.autoDisposeWith(scope: Maybe<*>): CompletableSubscribePro = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Flowable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Flowable.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -113,7 +113,7 @@ inline fun Flowable.autoDisposeWith(provider: ScopeProvider): FlowableSub = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Observable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Observable.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -126,7 +126,7 @@ inline fun Observable.autoDisposeWith(provider: ScopeProvider): Observabl = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Single.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Single.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -139,7 +139,7 @@ inline fun Single.autoDisposeWith(provider: ScopeProvider): SingleSubscri = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Maybe.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Maybe.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -152,7 +152,7 @@ inline fun Maybe.autoDisposeWith(provider: ScopeProvider): MaybeSubscribe = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Completable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Completable.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -165,7 +165,7 @@ inline fun Completable.autoDisposeWith(provider: ScopeProvider): CompletableSubs = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Flowable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Flowable.as] + [AutoDispose.autoDisposable] * */ @Deprecated( @@ -180,7 +180,7 @@ inline fun Flowable.autoDisposeWith( = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Observable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Observable.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -194,7 +194,7 @@ inline fun Observable.autoDisposeWith( = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Single.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Single.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -208,7 +208,7 @@ inline fun Single.autoDisposeWith( = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Maybe.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Maybe.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -221,7 +221,7 @@ inline fun Maybe.autoDisposeWith(provider: LifecycleScopeProvider<*>): Ma = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Completable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Completable.as] + [AutoDispose.autoDisposable] */ @Deprecated( level = WARNING, @@ -235,77 +235,77 @@ inline fun Completable.autoDisposeWith( = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Flowable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Flowable.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Flowable.autoDisposable(scope: Maybe<*>): FlowableSubscribeProxy = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Observable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Observable.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Observable.autoDisposable(scope: Maybe<*>): ObservableSubscribeProxy = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Single.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Single.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Single.autoDisposable(scope: Maybe<*>): SingleSubscribeProxy = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Maybe.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Maybe.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Maybe.autoDisposable(scope: Maybe<*>): MaybeSubscribeProxy = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Completable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Completable.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Completable.autoDisposable(scope: Maybe<*>): CompletableSubscribeProxy = this.`as`(AutoDispose.autoDisposable(scope)) /** - * Extension that proxies to [Flowable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Flowable.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Flowable.autoDisposable(provider: ScopeProvider): FlowableSubscribeProxy = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Observable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Observable.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Observable.autoDisposable(provider: ScopeProvider): ObservableSubscribeProxy = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Single.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Single.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Single.autoDisposable(provider: ScopeProvider): SingleSubscribeProxy = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Maybe.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Maybe.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Maybe.autoDisposable(provider: ScopeProvider): MaybeSubscribeProxy = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Completable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Completable.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Completable.autoDisposable(provider: ScopeProvider): CompletableSubscribeProxy = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Flowable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Flowable.as] + [AutoDispose.autoDisposable] * */ @CheckReturnValue @@ -314,7 +314,7 @@ inline fun Flowable.autoDisposable( = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Observable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Observable.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Observable.autoDisposable( @@ -322,7 +322,7 @@ inline fun Observable.autoDisposable( = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Single.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Single.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Single.autoDisposable( @@ -330,14 +330,14 @@ inline fun Single.autoDisposable( = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Maybe.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Maybe.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Maybe.autoDisposable(provider: LifecycleScopeProvider<*>): MaybeSubscribeProxy = this.`as`(AutoDispose.autoDisposable(provider)) /** - * Extension that proxies to [Completable.to] + [AutoDispose.autoDisposable] + * Extension that proxies to [Completable.as] + [AutoDispose.autoDisposable] */ @CheckReturnValue inline fun Completable.autoDisposable(