# | Line 910 | Line 910 | public class DelayQueueTest extends JSR1 | |
---|---|---|
910 | } | |
911 | ||
912 | /** | |
913 | < | * drainTo(c, n) empties first max {n, size} elements of queue into c |
913 | > | * drainTo(c, n) empties first min(n, size) elements of queue into c |
914 | */ | |
915 | public void testDrainToN() { | |
916 | for (int i = 0; i < SIZE + 2; ++i) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |