# | Line 44 | Line 44 | public class LinkedBlockingDequeTest ext | |
---|---|---|
44 | } | |
45 | ||
46 | /** | |
47 | < | * Creates a deque of given size containing consecutive |
47 | > | * Returns a new deque of given size containing consecutive |
48 | * Integers 0 ... n. | |
49 | */ | |
50 | private LinkedBlockingDeque<Integer> populatedDeque(int n) { | |
# | Line 1064 | Line 1064 | public class LinkedBlockingDequeTest ext | |
1064 | ||
1065 | pleaseInterrupt.countDown(); | |
1066 | try { | |
1067 | < | q.pollFirst(SMALL_DELAY_MS, MILLISECONDS); |
1067 | > | q.pollFirst(LONG_DELAY_MS, MILLISECONDS); |
1068 | shouldThrow(); | |
1069 | } catch (InterruptedException success) {} | |
1070 | assertFalse(Thread.interrupted()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |