From: Jérôme Benoit Date: Sun, 3 Jun 2018 13:35:27 +0000 (+0200) Subject: Code cleanup. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=bdbcb0e4ae5bd4102793377fc26055db87ce3557;p=TD_SR.git Code cleanup. --- diff --git a/TD1/exo3/Producteur.java b/TD1/exo3/Producteur.java index 36b67a3..732fafa 100644 --- a/TD1/exo3/Producteur.java +++ b/TD1/exo3/Producteur.java @@ -23,7 +23,7 @@ public class Producteur implements Runnable { public void run() { while (true) { buffer.depose(new Integer(val)); - System.out.println(Thread.currentThread().getName() + " a depose " + val); + System.out.println(Thread.currentThread().getName() + " a depose " + val); val++; try { Thread.sleep(ThreadLocalRandom.current().nextInt(101));