Skip to content

Commit

Permalink
removing the dependency on groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
abersnaze committed Jan 23, 2013
1 parent 967337e commit c7f554f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rxjava-core/src/main/java/rx/subjects/Subject.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package rx.subjects;

import groovy.lang.Reference;

import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;

import junit.framework.Assert;

Expand Down Expand Up @@ -78,7 +77,7 @@ public static class UnitTest {
@Test
public void test() {
Subject<Integer> subject = Subject.<Integer> create();
final Reference<List<Notification<String>>> actualRef = new Reference<List<Notification<String>>>();
final AtomicReference<List<Notification<String>>> actualRef = new AtomicReference<List<Notification<String>>>();

Observable<List<Notification<Integer>>> wNotificationsList = subject.materialize().toList();
wNotificationsList.subscribe(new Action1<List<Notification<String>>>() {
Expand Down

0 comments on commit c7f554f

Please sign in to comment.