File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
rxjava-core/src/main/java/rx/operators Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3232 private final Scheduler scheduler ;
3333 private final CompositeSubscription parentSubscription ;
3434 private final EventLoop eventLoop = new EventLoop ();
35-
36- private final ConcurrentLinkedQueue <Notification <? extends T >> queue = new ConcurrentLinkedQueue <Notification <? extends T >>();
35+ final AtomicInteger counter = new AtomicInteger ();
3736 private final AtomicBoolean started = new AtomicBoolean ();
3837
38+ private final ConcurrentLinkedQueue <Notification <? extends T >> queue = new ConcurrentLinkedQueue <Notification <? extends T >>();
39+
40+
3941 public ScheduledObserver (CompositeSubscription s , Observer <? super T > underlying , Scheduler scheduler ) {
4042 this .parentSubscription = s ;
4143 this .underlying = underlying ;
@@ -57,8 +59,6 @@ public void onNext(final T args) {
5759 enqueue (new Notification <T >(args ));
5860 }
5961
60- final AtomicInteger counter = new AtomicInteger ();
61-
6262 private void enqueue (Notification <? extends T > notification ) {
6363 // this must happen before synchronization between threads
6464 queue .offer (notification );
You can’t perform that action at this time.
0 commit comments