# | Line 336 | Line 336 | public class SynchronousQueueTest extend | |
---|---|---|
336 | * returning timeout status | |
337 | */ | |
338 | public void testInterruptedTimedPoll() throws InterruptedException { | |
339 | + | final SynchronousQueue q = new SynchronousQueue(); |
340 | Thread t = new Thread(new CheckedInterruptedRunnable() { | |
341 | public void realRun() throws InterruptedException { | |
341 | – | SynchronousQueue q = new SynchronousQueue(); |
342 | q.poll(SMALL_DELAY_MS, MILLISECONDS); | |
343 | }}); | |
344 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |