# | Line 294 | Line 294 | public class LinkedTransferQueueTest ext | |
---|---|---|
294 | assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); | |
295 | }}); | |
296 | ||
297 | < | aboutToWait.await(); |
297 | > | await(aboutToWait); |
298 | waitForThreadToEnterWaitState(t); | |
299 | t.interrupt(); | |
300 | awaitTermination(t); | |
# | Line 799 | Line 799 | public class LinkedTransferQueueTest ext | |
799 | Thread first = newStartedThread(new CheckedRunnable() { | |
800 | public void realRun() throws InterruptedException { | |
801 | q.transfer(four); | |
802 | < | assertTrue(!q.contains(four)); |
802 | > | assertFalse(q.contains(four)); |
803 | assertEquals(1, q.size()); | |
804 | }}); | |
805 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |