From 074276e664a6e0cdd544fc987e08814d27ada8c0 Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Thu, 29 Apr 2021 20:30:02 +0200 Subject: [PATCH] fix: changed lists in MessageRelay to final --- .../teamname/marvelous/server/LobbyManager/MessageRelay.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/LobbyManager/MessageRelay.java b/Server/src/main/java/uulm/teamname/marvelous/server/LobbyManager/MessageRelay.java index 06af9d7..9f73b41 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/LobbyManager/MessageRelay.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/LobbyManager/MessageRelay.java @@ -6,8 +6,8 @@ import uulm.teamname.marvelous.server.Lobby.Lobby; import java.util.HashMap; public class MessageRelay { - private HashMap lobbies; - private HashMap sockets; + private final HashMap lobbies; + private final HashMap sockets; public MessageRelay() { this.lobbies = new HashMap<>();