Skip to content

1.x: fix SingleTest generics warnings #4254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/test/java/rx/SingleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@ public Single<Integer> call(Integer v) {
@Test
public void flatMapCompletableComplete() {
final AtomicInteger atomicInteger = new AtomicInteger();
TestSubscriber testSubscriber = TestSubscriber.create();
TestSubscriber<Object> testSubscriber = TestSubscriber.create();

Single.just(1).flatMapCompletable(new Func1<Integer, Completable>() {
@Override
Expand All @@ -2030,7 +2030,7 @@ public void call() {
@Test
public void flatMapCompletableError() {
final RuntimeException error = new RuntimeException("some error");
TestSubscriber testSubscriber = TestSubscriber.create();
TestSubscriber<Object> testSubscriber = TestSubscriber.create();

Single.just(1).flatMapCompletable(new Func1<Integer, Completable>() {
@Override
Expand All @@ -2044,7 +2044,7 @@ public Completable call(final Integer integer) {

@Test
public void flatMapCompletableNullCompletable() {
TestSubscriber testSubscriber = TestSubscriber.create();
TestSubscriber<Object> testSubscriber = TestSubscriber.create();

Single.just(1).flatMapCompletable(new Func1<Integer, Completable>() {
@Override
Expand All @@ -2058,7 +2058,7 @@ public Completable call(final Integer integer) {

@Test
public void flatMapCompletableException() {
TestSubscriber testSubscriber = TestSubscriber.create();
TestSubscriber<Object> testSubscriber = TestSubscriber.create();

Single.just(1).flatMapCompletable(new Func1<Integer, Completable>() {
@Override
Expand Down