File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
rxjava-contrib/rxjava-quasar/src/main/java/rx/quasar Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 24
24
import rx .Observable ;
25
25
import rx .Observer ;
26
26
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 ;
31
27
32
28
/**
33
29
* This class contains static methods that connect {@link Observable}s and {@link Channel}s.
@@ -121,21 +117,6 @@ public void onError(Throwable e) {
121
117
*/
122
118
public final static <T > ReceivePort <T > subscribe (int bufferSize , Channels .OverflowPolicy policy , Observable <T > o ) {
123
119
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
- }));
139
120
140
121
o .subscribe (new Observer <T >() {
141
122
@ Override
You can’t perform that action at this time.
0 commit comments