Skip to content

Commit 92a67bb

Browse files
committed
Rearrange fields
Final fields should be arranged first
1 parent 363bbf5 commit 92a67bb

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,15 @@
4040
*/
4141
public abstract class PlayQueue implements Serializable {
4242
public static final boolean DEBUG = MainActivity.DEBUG;
43-
44-
private List<PlayQueueItem> backup;
45-
private List<PlayQueueItem> streams;
46-
4743
@NonNull
4844
private final AtomicInteger queueIndex;
4945
private final List<PlayQueueItem> history = new ArrayList<>();
5046

47+
private List<PlayQueueItem> backup;
48+
private List<PlayQueueItem> streams;
49+
5150
private transient BehaviorSubject<PlayQueueEvent> eventBroadcast;
5251
private transient Flowable<PlayQueueEvent> broadcastReceiver;
53-
5452
private transient boolean disposed = false;
5553

5654
PlayQueue(final int index, final List<PlayQueueItem> startWith) {

0 commit comments

Comments
 (0)