Mark a field as private

Since we're synchronising on playQueue, we should make
it final.
master
jvoisin 5 years ago
parent 89ea120a2f
commit 06e36ff154
  1. 2
      airsonic-main/src/main/java/org/airsonic/player/io/ShoutCastOutputStream.java

@ -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}.

Loading…
Cancel
Save