X-Git-Url: https://git.piment-noir.org/?p=TD_SR.git;a=blobdiff_plain;f=TD2%2Fclient%2FThreadClientSend.java;h=33a8461966597c496f7d718c7bd1ae282cbbdb6c;hp=42fe7dfd13c723a5cac6c8e09bbfe4cbf7db611c;hb=fcb90b7628735985651da7d75ae0e98ac67a2f67;hpb=6b300998692af2dca53cf1fe97305d27b56430b0 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; }