Skip to content

Commit 61a5976

Browse files
JakeWhartonakarnokd
authored andcommitted
Remove unused helper class previously used by extend(). (#4745)
1 parent 1f65cbb commit 61a5976

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/main/java/rx/Observable.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -201,22 +201,6 @@ public interface Operator<R, T> extends Func1<Subscriber<? super R>, Subscriber<
201201
// cover for generics insanity
202202
}
203203

204-
/**
205-
* Transforms a OnSubscribe.call() into an Observable.subscribe() call.
206-
* <p>Note: has to be in Observable because it calls the package-private subscribe() method
207-
* @param <T> the value type
208-
*/
209-
static final class OnSubscribeExtend<T> implements OnSubscribe<T> {
210-
final Observable<T> parent;
211-
OnSubscribeExtend(Observable<T> parent) {
212-
this.parent = parent;
213-
}
214-
@Override
215-
public void call(Subscriber<? super T> subscriber) {
216-
subscriber.add(subscribe(subscriber, parent));
217-
}
218-
}
219-
220204
/**
221205
* <strong>This method requires advanced knowledge about building operators; please consider
222206
* other standard composition methods first;</strong>

0 commit comments

Comments
 (0)