diff options
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/rx/RxFlyweight.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/rx/RxFlyweight.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/rx/RxFlyweight.kt b/app/src/main/kotlin/com/pitchedapps/frost/rx/RxFlyweight.kt index d174cfec..e8373dd6 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/rx/RxFlyweight.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/rx/RxFlyweight.kt @@ -71,7 +71,7 @@ abstract class RxFlyweight<in T : Any, C : Any, R : Any> { * If you don't have a need for cache, * you likely won't have a need for flyweights */ - open protected fun createNewSource(input: T): Single<R> = + protected open fun createNewSource(input: T): Single<R> = Single.fromCallable { call(input) } .timeout(15, TimeUnit.SECONDS) .subscribeOn(Schedulers.io()) |