diff options
Diffstat (limited to 'src/Server/ChatServer.java')
-rw-r--r-- | src/Server/ChatServer.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Server/ChatServer.java b/src/Server/ChatServer.java index 6d58c49..641c173 100644 --- a/src/Server/ChatServer.java +++ b/src/Server/ChatServer.java @@ -15,7 +15,7 @@ public class ChatServer public static ChatServer server; /** removing connection from the iterator. - * @param connection */ + * @param con connection */ public void connectionRemove(Connection con) { this.connections.remove(con); @@ -35,7 +35,7 @@ public class ChatServer } /** check if nick already used. if not add it. - * @param nick */ + * @param nick the new nick name to set */ public boolean addNick (String nick) { if (this.nicks.get(nick) != null) @@ -48,7 +48,7 @@ public class ChatServer } /** remove nick which is no longer in use. - * @param nick */ + * @param nick the nick to remove*/ public void removeNick (String nick) { this.nicks.remove(nick); |