Code cleanup.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 3 Jun 2018 13:35:27 +0000 (15:35 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 3 Jun 2018 13:35:27 +0000 (15:35 +0200)
TD1/exo3/Producteur.java

index 36b67a316b4153b29d7a2c69b08d87823f7ef56f..732fafa22097c4a0e83b0cec23984c0b1f1a5da2 100644 (file)
@@ -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));