Skip to content

Commit ea7e3db

Browse files
author
Tomasz Lelek
committed
BAEL-614 remove println
1 parent 5013f7b commit ea7e3db

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎core-java/src/main/java/com/baeldung/concurrency/BlockingQueueUsage.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ public static void main(String[] args) {
1515
BlockingQueue<Integer> queue = new LinkedBlockingQueue<>(BOUND);
1616

1717
for (int i = 0; i < N_PRODUCERS; i++) {
18-
System.out.println("new Producer");
1918
new Thread(new NumbersProducer(queue)).start();
2019
}
2120

2221
for (int j = 0; j < N_CONSUMERS; j++) {
23-
System.out.println("new Consumer");
2422
new Thread(new NumbersConsumer(queue)).start();
2523
}
2624
}

0 commit comments

Comments
 (0)