From 06e36ff1547a8084a861d7161121f49502ed3287 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 12 Oct 2019 12:55:58 +0200 Subject: [PATCH] Mark a field as private Since we're synchronising on playQueue, we should make it final. --- .../main/java/org/airsonic/player/io/ShoutCastOutputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airsonic-main/src/main/java/org/airsonic/player/io/ShoutCastOutputStream.java b/airsonic-main/src/main/java/org/airsonic/player/io/ShoutCastOutputStream.java index 056ce4d9..c8cfbcfe 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/io/ShoutCastOutputStream.java +++ b/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. */ - 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}.