summaryrefslogtreecommitdiff
path: root/src/Server/ChatServer.java
diff options
context:
space:
mode:
authorDor Bivas <dor1_b@walla.com>2014-04-15 11:25:19 +0300
committerDor Bivas <dor1_b@walla.com>2014-04-15 11:25:19 +0300
commitb061c9e1f749f6e1392eaa9e1746e30f3a2a6d0d (patch)
treeb2ea3bf987b6c952bb66f4c62c3fd1eb65901a4f /src/Server/ChatServer.java
parent61b1467277e46d0ae87fe18b31419a849323b74c (diff)
Code documentation fixes
Diffstat (limited to 'src/Server/ChatServer.java')
-rw-r--r--src/Server/ChatServer.java6
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);