From db14c09d6257c537ce0b77f004410ce1606db73f Mon Sep 17 00:00:00 2001 From: Artem Zinnatullin Date: Wed, 23 Mar 2016 03:55:35 +0300 Subject: [PATCH] 1.x: Expose Single.lift() --- src/main/java/rx/Single.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/rx/Single.java b/src/main/java/rx/Single.java index 3489f1a55c..b7e99671d2 100644 --- a/src/main/java/rx/Single.java +++ b/src/main/java/rx/Single.java @@ -163,9 +163,8 @@ public interface OnSubscribe extends Action1> { * @return a Single that is the result of applying the lifted Operator to the source Single * @see RxJava wiki: Implementing Your Own Operators */ - private Single lift(final Operator lift) { - // This method is private because not sure if we want to expose the Observable.Operator in this public API rather than a Single.Operator - + @Experimental + public final Single lift(final Operator lift) { return new Single(new Observable.OnSubscribe() { @Override public void call(Subscriber o) {