From efff828f1a7c17ecffe0a5a376bfaadf3d79ee9e Mon Sep 17 00:00:00 2001 From: Valentin Spiroski Date: Mon, 5 Feb 2024 13:45:11 +0100 Subject: [PATCH] refactoring: indentation --- src/main/java/ClientHandler.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/ClientHandler.java b/src/main/java/ClientHandler.java index bbc6455..db9059f 100644 --- a/src/main/java/ClientHandler.java +++ b/src/main/java/ClientHandler.java @@ -8,16 +8,11 @@ public class ClientHandler implements Runnable { private BufferedReader fromClientReader; private PrintWriter toClientWriter; - public ClientHandler(ChatServer chatServer, Socket connectionToClient) { this.chatServer = chatServer; this.connectionToClient = connectionToClient; name = connectionToClient.getInetAddress().getHostAddress(); - new Thread(this).start(); - } - - - + new Thread(this).start();} @Override public void run() {