diff --git a/airsonic-main/src/main/java/org/airsonic/player/service/JukeboxJavaService.java b/airsonic-main/src/main/java/org/airsonic/player/service/JukeboxJavaService.java index aca789e6..b22194a4 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/service/JukeboxJavaService.java +++ b/airsonic-main/src/main/java/org/airsonic/player/service/JukeboxJavaService.java @@ -11,10 +11,7 @@ import org.springframework.stereotype.Service; import java.io.File; import java.io.IOException; -import java.util.ArrayList; -import java.util.Hashtable; -import java.util.List; -import java.util.Map; +import java.util.*; /** @@ -35,8 +32,8 @@ public class JukeboxJavaService { private TransferStatus status; - private Map activeAudioPlayers = new Hashtable<>(); - private Map> activeAudioPlayersPerMixer = new Hashtable<>(); + private Map activeAudioPlayers = new HashMap<>(); + private Map> activeAudioPlayersPerMixer = new HashMap<>(); private final static String DEFAULT_MIXER_ENTRY_KEY = "_default";