Browse Source

refactoring: indentation

remotes/origin/feature/client/make-input-field-buttons-interactive
Valentin Spiroski 11 months ago
parent
commit
efff828f1a
  1. 7
      src/main/java/ClientHandler.java

7
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() {

Loading…
Cancel
Save