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
/
BroadcastoThreadService.java
diff --git
a/TD2/server/BroadcastoThreadService.java
b/TD2/server/BroadcastoThreadService.java
index 4c7281307fb3742d980cdeca342549f249511268..5ade5f328d87c830acc03a741e6eac18c880b3ef 100644
(file)
--- a/
TD2/server/BroadcastoThreadService.java
+++ b/
TD2/server/BroadcastoThreadService.java
@@
-19,7
+19,8
@@
public class BroadcastoThreadService implements Runnable {
try {
doService(clientSocket, listoWriter);
clientSocket.close();
try {
doService(clientSocket, listoWriter);
clientSocket.close();
- } catch (IOException e) {
+ }
+ catch (IOException e) {
System.err.println("IOException : " + e);
e.printStackTrace();
}
System.err.println("IOException : " + e);
e.printStackTrace();
}
@@
-31,7
+32,8
@@
public class BroadcastoThreadService 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();
}