Skip to content

Commit

Permalink
Replace 'resource' observers with plain 'disposable' observers in tes…
Browse files Browse the repository at this point in the history
…ts. (#4625)
  • Loading branch information
JakeWharton authored and akarnokd committed Sep 28, 2016
1 parent a28b558 commit 64f335c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public void accept(Integer t) {
//
.ignoreElements()
//
.subscribe(new ResourceCompletableObserver() {
.subscribe(new DisposableCompletableObserver() {
@Override
public void onComplete() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ public void testBufferWithTimeDoesntUnsubscribeDownstream() throws InterruptedEx
final Observer<Object> o = TestHelper.mockObserver();

final CountDownLatch cdl = new CountDownLatch(1);
ResourceObserver<Object> s = new ResourceObserver<Object>() {
DisposableObserver<Object> s = new DisposableObserver<Object>() {
@Override
public void onNext(Object t) {
o.onNext(t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public void onNext(String t) {
AtomicInteger p2 = new AtomicInteger();

o.onSubscribe(Disposables.empty());
ResourceObserver<String> as1 = new ResourceObserver<String>() {
DisposableObserver<String> as1 = new DisposableObserver<String>() {
@Override
public void onNext(String t) {
o.onNext(t);
Expand All @@ -392,7 +392,7 @@ public void onComplete() {
}
};

ResourceObserver<String> as2 = new ResourceObserver<String>() {
DisposableObserver<String> as2 = new DisposableObserver<String>() {
@Override
public void onNext(String t) {
o.onNext(t);
Expand Down

0 comments on commit 64f335c

Please sign in to comment.