repositories
/
TD_SR.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Coding style cleanups.
[TD_SR.git]
/
TD2
/
server
/
BroadcastThreadService.java
diff --git
a/TD2/server/BroadcastThreadService.java
b/TD2/server/BroadcastThreadService.java
index cd971c252356d34b4821c6e170ec81aa462d6c46..7a39e7a72f4ba3384973baf9a5d717a10460f998 100644
(file)
--- a/
TD2/server/BroadcastThreadService.java
+++ b/
TD2/server/BroadcastThreadService.java
@@
-19,7
+19,8
@@
public class BroadcastThreadService implements Runnable {
try {
doService(clientSocket, listWriter);
clientSocket.close();
try {
doService(clientSocket, listWriter);
clientSocket.close();
- } catch (IOException e) {
+ }
+ catch (IOException e) {
System.err.println("IOException : " + e);
e.printStackTrace();
}
System.err.println("IOException : " + e);
e.printStackTrace();
}
@@
-27,7
+28,8
@@
public class BroadcastThreadService implements Runnable {
try {
if (this.clientSocket != null)
this.clientSocket.close();
try {
if (this.clientSocket != null)
this.clientSocket.close();
- } catch (IOException e) {
+ }
+ catch (IOException e) {
System.err.println("IOException : " + e);
e.printStackTrace();
}
System.err.println("IOException : " + e);
e.printStackTrace();
}