From f52e08943325c7d239cfcff4088556c31506f73d Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Sun, 6 Jun 2021 19:28:19 +0200 Subject: [PATCH] refactor: changed UserManager constructor to private --- .../teamname/marvelous/server/netconnector/UserManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/netconnector/UserManager.java b/Server/src/main/java/uulm/teamname/marvelous/server/netconnector/UserManager.java index 1b51319..627bd1a 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/netconnector/UserManager.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/netconnector/UserManager.java @@ -65,7 +65,7 @@ public class UserManager { private final JSON json; /** Constructs a new, empty UserManager */ - UserManager() { + private UserManager() { this.newUsers = new HashSet<>(); this.readyToConnect = new HashMap<>(); this.readyToReconnect = new HashMap<>();