File tree Expand file tree Collapse file tree 2 files changed +2
-47
lines changed Expand file tree Collapse file tree 2 files changed +2
-47
lines changed Original file line number Diff line number Diff line change 21
21
import rx .Observer ;
22
22
import rx .Subscriber ;
23
23
import rx .functions .Action0 ;
24
- import rx .observers .EmptyObserver ;
25
- import rx .observers .Subscribers ;
24
+ import rx .observers .Observers ;
26
25
import rx .subjects .Subject ;
27
26
import rx .subscriptions .Subscriptions ;
28
27
51
50
*/
52
51
public class BufferUntilSubscriber <T > extends Subject <T , T > {
53
52
54
- @ SuppressWarnings ("rawtypes" )
55
- private final static Observer EMPTY_OBSERVER = new EmptyObserver ();
56
-
57
53
/**
58
54
* @warn create() undescribed
59
55
* @return
@@ -96,7 +92,7 @@ public void call(final Subscriber<? super T> s) {
96
92
s .add (Subscriptions .create (new Action0 () {
97
93
@ Override
98
94
public void call () {
99
- state .observerRef = EMPTY_OBSERVER ;
95
+ state .observerRef = Observers . empty () ;
100
96
}
101
97
}));
102
98
boolean win = false ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments