From fcb90b7628735985651da7d75ae0e98ac67a2f67 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 13 Mar 2018 22:12:25 +0100 Subject: [PATCH] More code cleanups. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- TD2/client/ThreadClientSend.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.34.1