# | Line 224 | Line 224 | public class TimeoutProducerConsumerLoop | |
---|---|---|
224 | static final class LTQasSQ<T> extends LinkedTransferQueue<T> { | |
225 | LTQasSQ() { super(); } | |
226 | public void put(T x) { | |
227 | < | try { super.transfer(x); |
228 | < | } catch (InterruptedException ex) { throw new Error(); } |
227 | > | try { super.transfer(x); } |
228 | > | catch (InterruptedException ex) { throw new Error(ex); } |
229 | } | |
230 | ||
231 | public boolean offer(T x, long timeout, TimeUnit unit) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |