fix: changed lists in MessageRelay to final
This commit is contained in:
parent
b4415fdb53
commit
074276e664
@ -6,8 +6,8 @@ import uulm.teamname.marvelous.server.Lobby.Lobby;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|
||||||
public class MessageRelay {
|
public class MessageRelay {
|
||||||
private HashMap<WebSocket, Lobby> lobbies;
|
private final HashMap<WebSocket, Lobby> lobbies;
|
||||||
private HashMap<Lobby, WebSocket> sockets;
|
private final HashMap<Lobby, WebSocket> sockets;
|
||||||
|
|
||||||
public MessageRelay() {
|
public MessageRelay() {
|
||||||
this.lobbies = new HashMap<>();
|
this.lobbies = new HashMap<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user