mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Minor formatting.
This commit is contained in:
parent
8c081b436e
commit
e346c6903f
2 changed files with 8 additions and 8 deletions
|
@ -88,12 +88,12 @@ public class User {
|
|||
this.connectionTime = new Date();
|
||||
this.lastActivity = new Date();
|
||||
|
||||
this.tables = new ConcurrentHashMap<UUID, Table>();
|
||||
this.gameSessions = new ConcurrentHashMap<UUID, GameSession>();
|
||||
this.draftSessions = new ConcurrentHashMap<UUID, DraftSession>();
|
||||
this.tournamentSessions = new ConcurrentHashMap<UUID, TournamentSession>();
|
||||
this.constructing = new ConcurrentHashMap<UUID, TournamentSession>();
|
||||
this.sideboarding = new ConcurrentHashMap<UUID, Deck>();
|
||||
this.tables = new ConcurrentHashMap<>();
|
||||
this.gameSessions = new ConcurrentHashMap<>();
|
||||
this.draftSessions = new ConcurrentHashMap<>();
|
||||
this.tournamentSessions = new ConcurrentHashMap<>();
|
||||
this.constructing = new ConcurrentHashMap<>();
|
||||
this.sideboarding = new ConcurrentHashMap<>();
|
||||
|
||||
this.sessionId = "";
|
||||
}
|
||||
|
@ -180,7 +180,7 @@ public class User {
|
|||
}
|
||||
|
||||
public void showUserMessage(final String titel, String message) {
|
||||
List<String> messageData = new LinkedList<String>();
|
||||
List<String> messageData = new LinkedList<>();
|
||||
messageData.add(titel);
|
||||
messageData.add(message);
|
||||
fireCallback(new ClientCallback("showUserMessage", null, messageData ));
|
||||
|
|
|
@ -64,7 +64,7 @@ public class UserManager {
|
|||
}, 60, 60, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
private final ConcurrentHashMap<UUID, User> users = new ConcurrentHashMap<UUID, User>();
|
||||
private final ConcurrentHashMap<UUID, User> users = new ConcurrentHashMap<>();
|
||||
|
||||
public User createUser(String userName, String host) {
|
||||
if (findUser(userName) != null) {
|
||||
|
|
Loading…
Reference in a new issue