Skip to content

Commit 799298a

Browse files
Updated more usages of InfoItemsPage#getNextPage. Nullability is already handled in these areas so no other changes needed
1 parent 5906f0e commit 799298a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

app/src/main/java/org/schabi/newpipe/fragments/list/BaseListInfoFragment.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import android.view.View;
99

1010
import androidx.annotation.NonNull;
11+
import androidx.annotation.Nullable;
1112

1213
import com.evernote.android.state.State;
1314

@@ -42,6 +43,7 @@ public abstract class BaseListInfoFragment<I extends InfoItem, L extends ListInf
4243

4344
private final UserAction errorUserAction;
4445
protected L currentInfo;
46+
@Nullable
4547
protected Page currentNextPage;
4648
protected Disposable currentWorker;
4749

app/src/main/java/org/schabi/newpipe/player/playqueue/AbstractInfoPlayQueue.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import android.util.Log;
44

55
import androidx.annotation.NonNull;
6+
import androidx.annotation.Nullable;
67

78
import org.schabi.newpipe.extractor.InfoItem;
89
import org.schabi.newpipe.extractor.ListExtractor;
@@ -23,6 +24,7 @@ abstract class AbstractInfoPlayQueue<T extends ListInfo<? extends InfoItem>>
2324

2425
final int serviceId;
2526
final String baseUrl;
27+
@Nullable
2628
Page nextPage;
2729

2830
private transient Disposable fetchReactor;

0 commit comments

Comments
 (0)