diff options
author | Dor Bivas <dor1_b@walla.com> | 2014-03-29 17:15:26 +0300 |
---|---|---|
committer | Dor Bivas <dor1_b@walla.com> | 2014-03-29 17:15:26 +0300 |
commit | 3e6edd995e1e705f6470f77bfe07c914511e2f49 (patch) | |
tree | c05477ec7e2dabaffdf6ad123fbff5e77d66119d /src/Client/ChatClientWriter.java | |
parent | d008f730a318bc1daf603ac6520293c808a054b2 (diff) |
Chat: deleted white spaces prettify the code, and fixm's and unneeded
notes and tasks.
Diffstat (limited to 'src/Client/ChatClientWriter.java')
-rw-r--r-- | src/Client/ChatClientWriter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Client/ChatClientWriter.java b/src/Client/ChatClientWriter.java index 924e683..9d89cea 100644 --- a/src/Client/ChatClientWriter.java +++ b/src/Client/ChatClientWriter.java @@ -22,6 +22,8 @@ public class ChatClientWriter extends Thread this.queue = new LinkedBlockingQueue<String>(); } + /** add message to queue. + * @param message */ public void sendLine (String line) { try @@ -56,7 +58,6 @@ public class ChatClientWriter extends Thread OutputStreamWriter outTemp; String line; - outTemp = new OutputStreamWriter(this.soc.getOutputStream()); this.output = new BufferedWriter(outTemp); |