# | Line 6 | Line 6 | |
---|---|---|
6 | import java.util.concurrent.*; | |
7 | ||
8 | public class CancelledProducerConsumerLoops { | |
9 | < | static final int CAPACITY = 100; |
9 | > | static final int CAPACITY = 100; |
10 | static final long TIMEOUT = 100; | |
11 | ||
12 | static final ExecutorService pool = Executors.newCachedThreadPool(); | |
# | Line 155 | Line 155 | public class CancelledProducerConsumerLo | |
155 | return new Integer(s); | |
156 | } | |
157 | } | |
158 | – | |
159 | – | |
158 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |