X-Git-Url: https://git.piment-noir.org/?p=TD_SR.git;a=blobdiff_plain;f=TD2%2Fclient%2FThreadClientReceive.java;h=74f09c3aff782035c325c2ee2944975479d0107f;hp=a3f28d87f29a28a2f3701fbce7d501deb10522d9;hb=6b300998692af2dca53cf1fe97305d27b56430b0;hpb=b9a33c97f77a1eae45b91426ca8061e18f163d4e diff --git a/TD2/client/ThreadClientReceive.java b/TD2/client/ThreadClientReceive.java index a3f28d8..74f09c3 100644 --- a/TD2/client/ThreadClientReceive.java +++ b/TD2/client/ThreadClientReceive.java @@ -10,11 +10,11 @@ public class ThreadClientReceive implements Runnable { public void run() { try { boolean end = false; - //FIXME: Not exiting properly randomly from that loop! + //FIXME: not exiting properly randomly from that loop! while (!end) { String rline = client.receiveMsg(); if (rline.equals(".")) { - end = true; + end = true; } System.out.println(Thread.currentThread().getName() + " a recu " + rline); }