Rearrange fields
Final fields should be arranged first
This commit is contained in:
parent
363bbf5fd3
commit
92a67bb8cb
1 changed files with 3 additions and 5 deletions
|
@ -40,17 +40,15 @@ 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 List<PlayQueueItem> backup;
|
|
||||||
private List<PlayQueueItem> streams;
|
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
private final AtomicInteger queueIndex;
|
private final AtomicInteger queueIndex;
|
||||||
private final List<PlayQueueItem> history = new ArrayList<>();
|
private final List<PlayQueueItem> history = new ArrayList<>();
|
||||||
|
|
||||||
|
private List<PlayQueueItem> backup;
|
||||||
|
private List<PlayQueueItem> streams;
|
||||||
|
|
||||||
private transient BehaviorSubject<PlayQueueEvent> eventBroadcast;
|
private transient BehaviorSubject<PlayQueueEvent> eventBroadcast;
|
||||||
private transient Flowable<PlayQueueEvent> broadcastReceiver;
|
private transient Flowable<PlayQueueEvent> broadcastReceiver;
|
||||||
|
|
||||||
private transient boolean disposed = false;
|
private transient boolean disposed = false;
|
||||||
|
|
||||||
PlayQueue(final int index, final List<PlayQueueItem> startWith) {
|
PlayQueue(final int index, final List<PlayQueueItem> startWith) {
|
||||||
|
|
Loading…
Reference in a new issue