@@ -3254,11 +3254,11 @@ trait Observable[+T]
32543254 * @see <a href="https://github.com/Netflix/RxJava/wiki/Error-Handling-Operators#retrywhen">RxJava Wiki: retryWhen()</a>
32553255 * @since 0.20
32563256 */
3257- def retryWhen (notificationHandler : Observable [Notification [Any ]] => Observable [Notification [ Any ] ], scheduler : Scheduler ): Observable [T ] = {
3258- val f : Func1 [_ >: rx.Observable [_ <: rx.Notification [_ <: Any ]], _ <: rx.Observable [_ <: rx. Notification [_ <: Any ] ]] =
3257+ def retryWhen (notificationHandler : Observable [Notification [Any ]] => Observable [Any ], scheduler : Scheduler ): Observable [T ] = {
3258+ val f : Func1 [_ >: rx.Observable [_ <: rx.Notification [_ <: Any ]], _ <: rx.Observable [_ <: Any ]] =
32593259 (jOn : rx.Observable [_ <: rx.Notification [_ <: Any ]]) => {
32603260 val on = toScalaObservable[rx.Notification [_ <: Any ]](jOn).map({ jN => toScalaNotification[Any ](jN) })
3261- notificationHandler(on).map({ n => n.asJavaNotification }). asJavaObservable
3261+ notificationHandler(on).asJavaObservable
32623262 }
32633263
32643264 toScalaObservable[T ](asJavaObservable.retryWhen(f, scheduler))
@@ -3347,11 +3347,11 @@ trait Observable[+T]
33473347 * @see <a href="http://msdn.microsoft.com/en-us/library/hh229428.aspx">MSDN: Observable.Repeat</a>
33483348 * @since 0.20
33493349 */
3350- def repeatWhen (notificationHandler : Observable [Notification [Any ]] => Observable [Notification [ Any ] ], scheduler : Scheduler ): Observable [T ] = {
3351- val f : Func1 [_ >: rx.Observable [_ <: rx.Notification [_ <: Any ]], _ <: rx.Observable [_ <: rx. Notification [_ <: Any ] ]] =
3350+ def repeatWhen (notificationHandler : Observable [Notification [Any ]] => Observable [Any ], scheduler : Scheduler ): Observable [T ] = {
3351+ val f : Func1 [_ >: rx.Observable [_ <: rx.Notification [_ <: Any ]], _ <: rx.Observable [_ <: Any ]] =
33523352 (jOn : rx.Observable [_ <: rx.Notification [_ <: Any ]]) => {
33533353 val on = toScalaObservable[rx.Notification [_ <: Any ]](jOn).map({ jN => toScalaNotification[Any ](jN) })
3354- notificationHandler(on).map({ n => n.asJavaNotification }). asJavaObservable
3354+ notificationHandler(on).asJavaObservable
33553355 }
33563356
33573357 toScalaObservable[T ](asJavaObservable.repeatWhen(f, scheduler))
@@ -3377,11 +3377,11 @@ trait Observable[+T]
33773377 * @see <a href="http://msdn.microsoft.com/en-us/library/hh229428.aspx">MSDN: Observable.Repeat</a>
33783378 * @since 0.20
33793379 */
3380- def repeatWhen (notificationHandler : Observable [Notification [Any ]] => Observable [Notification [ Any ] ]): Observable [T ] = {
3381- val f : Func1 [_ >: rx.Observable [_ <: rx.Notification [_ <: Any ]], _ <: rx.Observable [_ <: rx. Notification [_ <: Any ] ]] =
3380+ def repeatWhen (notificationHandler : Observable [Notification [Any ]] => Observable [Any ]): Observable [T ] = {
3381+ val f : Func1 [_ >: rx.Observable [_ <: rx.Notification [_ <: Any ]], _ <: rx.Observable [_ <: Any ]] =
33823382 (jOn : rx.Observable [_ <: rx.Notification [_ <: Any ]]) => {
33833383 val on = toScalaObservable[rx.Notification [_ <: Any ]](jOn).map({ jN => toScalaNotification[Any ](jN) })
3384- notificationHandler(on).map({ n => n.asJavaNotification }). asJavaObservable
3384+ notificationHandler(on).asJavaObservable
33853385 }
33863386
33873387 toScalaObservable[T ](asJavaObservable.repeatWhen(f))
0 commit comments