Mark a field as private

Since we're synchronising on playQueue, we should make
it final.
This commit is contained in:
jvoisin
2019-10-12 12:55:58 +02:00
parent 89ea120a2f
commit 06e36ff154
@@ -55,7 +55,7 @@ public class ShoutCastOutputStream extends OutputStream {
/** /**
* What to write in the SHOUTcast metadata is fetched from the playlist. * What to write in the SHOUTcast metadata is fetched from the playlist.
*/ */
private PlayQueue playQueue; final private PlayQueue playQueue;
/** /**
* Keeps track of the number of bytes written (excluding meta-data). Between 0 and {@link #META_DATA_INTERVAL}. * Keeps track of the number of bytes written (excluding meta-data). Between 0 and {@link #META_DATA_INTERVAL}.