Skip to content

Commit 43719c7

Browse files
committed
-
1 parent 53fb292 commit 43719c7

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

rxjava-contrib/rxjava-quasar/src/main/java/rx/quasar/ChannelObservable.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
import rx.Observable;
2525
import rx.Observer;
2626
import rx.Scheduler;
27-
import rx.util.functions.Action2;
28-
import rx.util.functions.Actions;
29-
import rx.util.functions.Func1;
30-
import rx.util.functions.Functions;
3127

3228
/**
3329
* This class contains static methods that connect {@link Observable}s and {@link Channel}s.
@@ -121,21 +117,6 @@ public void onError(Throwable e) {
121117
*/
122118
public final static <T> ReceivePort<T> subscribe(int bufferSize, Channels.OverflowPolicy policy, Observable<T> o) {
123119
final Channel<T> channel = Channels.newChannel(bufferSize, policy);
124-
125-
System.out.println(Functions.fromFunc(new Func1<String, String>() {
126-
127-
@Override
128-
public String call(String t1) {
129-
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
130-
}
131-
}));
132-
System.out.println(Actions.toFunc(new Action2<String, String>() {
133-
134-
@Override
135-
public void call(String t1, String t2) {
136-
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
137-
}
138-
}));
139120

140121
o.subscribe(new Observer<T>() {
141122
@Override

0 commit comments

Comments
 (0)