414 |
|
} |
415 |
|
|
416 |
|
/** |
417 |
< |
* timed pool with zero timeout succeeds when non-empty, else times out |
417 |
> |
* timed poll with zero timeout succeeds when non-empty, else times out |
418 |
|
*/ |
419 |
|
public void testTimedPoll0() throws InterruptedException { |
420 |
|
LinkedBlockingQueue q = populatedQueue(SIZE); |
425 |
|
} |
426 |
|
|
427 |
|
/** |
428 |
< |
* timed pool with nonzero timeout succeeds when non-empty, else times out |
428 |
> |
* timed poll with nonzero timeout succeeds when non-empty, else times out |
429 |
|
*/ |
430 |
|
public void testTimedPoll() throws InterruptedException { |
431 |
|
LinkedBlockingQueue q = populatedQueue(SIZE); |