Code cleanups.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 9 Mar 2018 22:18:21 +0000 (23:18 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 9 Mar 2018 22:18:21 +0000 (23:18 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
TD1/exo3/BufferCirc.java

index 91c458bc18894aced8aff2ecfd23af8e53847a69..e03e8ea950e2cdd3ab244bde76454722f2abbd90 100644 (file)
@@ -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) {}