From: Jérôme Benoit Date: Tue, 13 Mar 2018 21:12:25 +0000 (+0100) Subject: More code cleanups. X-Git-Url: https://git.piment-noir.org/?p=TD_SR.git;a=commitdiff_plain;h=fcb90b7628735985651da7d75ae0e98ac67a2f67 More code cleanups. Signed-off-by: Jérôme Benoit --- diff --git a/TD2/client/ThreadClientSend.java b/TD2/client/ThreadClientSend.java index 42fe7df..33a8461 100644 --- a/TD2/client/ThreadClientSend.java +++ b/TD2/client/ThreadClientSend.java @@ -12,8 +12,8 @@ public class ThreadClientSend implements Runnable { try { userInput = new BufferedReader(new InputStreamReader(System.in)); boolean end = false; - while (!end) { - String line = userInput.readLine(); + while (!end) { + String line = userInput.readLine(); if (line.equals(".")) { end = true; }