Skip to content

Commit 013c59f

Browse files
committed
Refactor ArrayList fields to List
1 parent 57474e2 commit 013c59f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
public abstract class PlayQueue implements Serializable {
4242
public static final boolean DEBUG = MainActivity.DEBUG;
4343

44-
private ArrayList<PlayQueueItem> backup;
45-
private ArrayList<PlayQueueItem> streams;
44+
private List<PlayQueueItem> backup;
45+
private List<PlayQueueItem> streams;
4646

4747
@NonNull
4848
private final AtomicInteger queueIndex;
49-
private final ArrayList<PlayQueueItem> history;
49+
private final List<PlayQueueItem> history;
5050

5151
private transient BehaviorSubject<PlayQueueEvent> eventBroadcast;
5252
private transient Flowable<PlayQueueEvent> broadcastReceiver;

0 commit comments

Comments
 (0)