summaryrefslogtreecommitdiff
path: root/src/Client/ParsedLine.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/ParsedLine.java')
-rw-r--r--src/Client/ParsedLine.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Client/ParsedLine.java b/src/Client/ParsedLine.java
index ebc45b1..972a9b2 100644
--- a/src/Client/ParsedLine.java
+++ b/src/Client/ParsedLine.java
@@ -8,13 +8,13 @@ public class ParsedLine
private Hashtable <String, String> dict;
/** constructor, returning dictionary.
- * @param text line
+ * @param line which is the text
* for example input: ":sweetmorn.cohens.org.il 352 tzafrir #chat-dor ~tzafrir localhost"
* output: a dictionary with the following entries:
* - server: sweetmorn.cohens.org.il
* - command: 352
* - nick: tzafrir
- * - message: #chat-dor ~tzafrir localhost
+ * - message: "#chat-dor ~tzafrir localhost"
*/
public ParsedLine(String line)
{
@@ -79,7 +79,7 @@ public class ParsedLine
}
/** getting the results from the dictionary
- @param property */
+ @param property the key to look for in the parsed request */
public String get(String property)
{
return dict.get(property);