Refactor ArrayList fields to List
This commit is contained in:
parent
57474e2dab
commit
013c59f904
1 changed files with 3 additions and 3 deletions
|
@ -41,12 +41,12 @@ import io.reactivex.rxjava3.subjects.BehaviorSubject;
|
||||||
public abstract class PlayQueue implements Serializable {
|
public abstract class PlayQueue implements Serializable {
|
||||||
public static final boolean DEBUG = MainActivity.DEBUG;
|
public static final boolean DEBUG = MainActivity.DEBUG;
|
||||||
|
|
||||||
private ArrayList<PlayQueueItem> backup;
|
private List<PlayQueueItem> backup;
|
||||||
private ArrayList<PlayQueueItem> streams;
|
private List<PlayQueueItem> streams;
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
private final AtomicInteger queueIndex;
|
private final AtomicInteger queueIndex;
|
||||||
private final ArrayList<PlayQueueItem> history;
|
private final List<PlayQueueItem> history;
|
||||||
|
|
||||||
private transient BehaviorSubject<PlayQueueEvent> eventBroadcast;
|
private transient BehaviorSubject<PlayQueueEvent> eventBroadcast;
|
||||||
private transient Flowable<PlayQueueEvent> broadcastReceiver;
|
private transient Flowable<PlayQueueEvent> broadcastReceiver;
|
||||||
|
|
Loading…
Reference in a new issue