refactor: changed UserManager constructor to private

This commit is contained in:
Yannik Bretschneider 2021-06-06 19:28:19 +02:00
parent 36285238ec
commit f52e089433

View File

@ -65,7 +65,7 @@ public class UserManager {
private final JSON json; private final JSON json;
/** Constructs a new, empty UserManager */ /** Constructs a new, empty UserManager */
UserManager() { private UserManager() {
this.newUsers = new HashSet<>(); this.newUsers = new HashSet<>();
this.readyToConnect = new HashMap<>(); this.readyToConnect = new HashMap<>();
this.readyToReconnect = new HashMap<>(); this.readyToReconnect = new HashMap<>();