Rearrange fields

Final fields should be arranged first
pull/6345/head
Eric Xu 2021-05-22 01:09:29 -04:00 zatwierdzone przez Zhiheng Xu
rodzic 363bbf5fd3
commit 92a67bb8cb
1 zmienionych plików z 3 dodań i 5 usunięć

Wyświetl plik

@ -40,17 +40,15 @@ import io.reactivex.rxjava3.subjects.BehaviorSubject;
*/
public abstract class PlayQueue implements Serializable {
public static final boolean DEBUG = MainActivity.DEBUG;
private List<PlayQueueItem> backup;
private List<PlayQueueItem> streams;
@NonNull
private final AtomicInteger queueIndex;
private final List<PlayQueueItem> history = new ArrayList<>();
private List<PlayQueueItem> backup;
private List<PlayQueueItem> streams;
private transient BehaviorSubject<PlayQueueEvent> eventBroadcast;
private transient Flowable<PlayQueueEvent> broadcastReceiver;
private transient boolean disposed = false;
PlayQueue(final int index, final List<PlayQueueItem> startWith) {