From bdbcb0e4ae5bd4102793377fc26055db87ce3557 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 3 Jun 2018 15:35:27 +0200 Subject: [PATCH] Code cleanup. --- TD1/exo3/Producteur.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.34.1