Skip to content

Commit 5a3ae78

Browse files
author
Kaushik Gopal
committed
fix: unncessary null check
1 parent 6d0b0f3 commit 5a3ae78

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/src/main/java/com/morihacky/android/rxjava/RetrofitFragment.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,6 @@ public void onError(Throwable e) {
148148

149149
@Override
150150
public void onNext(Pair<User, Contributor> pair) {
151-
if (pair == null) {
152-
return;
153-
}
154-
155151
User user = pair.first;
156152
Contributor contributor = pair.second;
157153

0 commit comments

Comments
 (0)