BAEL-614 remove println

This commit is contained in:
Tomasz Lelek 2017-01-25 19:10:49 +01:00
parent 5013f7be99
commit ea7e3db154
1 changed files with 0 additions and 2 deletions

View File

@ -15,12 +15,10 @@ public class BlockingQueueUsage {
BlockingQueue<Integer> queue = new LinkedBlockingQueue<>(BOUND);
for (int i = 0; i < N_PRODUCERS; i++) {
System.out.println("new Producer");
new Thread(new NumbersProducer(queue)).start();
}
for (int j = 0; j < N_CONSUMERS; j++) {
System.out.println("new Consumer");
new Thread(new NumbersConsumer(queue)).start();
}
}