From 3657cead42bd7dabf2eab5be477c3730fe7f89b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 9 Mar 2018 23:18:21 +0100 Subject: [PATCH] Code cleanups. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- TD1/exo3/BufferCirc.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TD1/exo3/BufferCirc.java b/TD1/exo3/BufferCirc.java index 91c458b..e03e8ea 100644 --- a/TD1/exo3/BufferCirc.java +++ b/TD1/exo3/BufferCirc.java @@ -33,7 +33,7 @@ public class BufferCirc { while(isFull()) { try { System.out.println("Buffer is full: " + Thread.currentThread().getName() - + " is waiting, size: " + nbObj); + + " is waiting, size: " + nbObj); wait(); } catch (InterruptedException e) {} @@ -50,7 +50,7 @@ public class BufferCirc { while(isEmpty()) { try { System.out.println("Buffer is empty: " + Thread.currentThread().getName() - + " is waiting, size: " + nbObj); + + " is waiting, size: " + nbObj); wait(); } catch (InterruptedException e) {} -- 2.34.1