Coding style cleanups.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 14 Mar 2018 16:41:23 +0000 (17:41 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 14 Mar 2018 16:41:23 +0000 (17:41 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
TD2/server/BroadcastThreadService.java
TD2/server/BroadcastoThreadService.java
TD2/server/Main.java

index cd971c252356d34b4821c6e170ec81aa462d6c46..7a39e7a72f4ba3384973baf9a5d717a10460f998 100644 (file)
@@ -19,7 +19,8 @@ public class BroadcastThreadService implements Runnable {
                try {
                        doService(clientSocket, listWriter);
                        clientSocket.close();
-               } catch (IOException e) {
+               }
+               catch (IOException e) {
                        System.err.println("IOException : " + e);
                        e.printStackTrace();
                }
@@ -27,7 +28,8 @@ public class BroadcastThreadService implements Runnable {
                        try {
                                if (this.clientSocket != null)
                                        this.clientSocket.close();
-                       } catch (IOException e) {
+                       }
+                       catch (IOException e) {
                                System.err.println("IOException : " + e);
                                e.printStackTrace();
                        }
index 4c7281307fb3742d980cdeca342549f249511268..5ade5f328d87c830acc03a741e6eac18c880b3ef 100644 (file)
@@ -19,7 +19,8 @@ public class BroadcastoThreadService implements Runnable {
                try {
                        doService(clientSocket, listoWriter);
                        clientSocket.close();
-               } catch (IOException e) {
+               }
+               catch (IOException e) {
                        System.err.println("IOException : " + e);
                        e.printStackTrace();
                }
@@ -31,7 +32,8 @@ public class BroadcastoThreadService implements Runnable {
                        try {
                                if (this.clientSocket != null)
                                        this.clientSocket.close();
-                       } catch (IOException e) {
+                       }
+                       catch (IOException e) {
                                System.err.println("IOException : " + e);
                                e.printStackTrace();
                        }
index 9c3b5471c015af6e29351aa51e3d36d46245a32f..7a01138bbf372d4d99a1d97c86b026ea946c09d2 100644 (file)
@@ -22,7 +22,8 @@ public class Main {
                        try {
                                if (listenSocket != null)
                                        listenSocket.close();
-                       } catch (IOException e) {
+                       }
+                       catch (IOException e) {
                                System.err.println("IOException : " + e);
                                e.printStackTrace();
                        }