# | Line 744 | Line 744 | public class ArrayBlockingQueueTest exte | |
---|---|---|
744 | } | |
745 | ||
746 | /** | |
747 | < | * toArray with incompatable array type throws CCE |
747 | > | * toArray with incompatible array type throws CCE |
748 | */ | |
749 | public void testToArray1_BadArg() { | |
750 | try { | |
# | Line 994 | Line 994 | public class ArrayBlockingQueueTest exte | |
994 | for (int i = 0; i < SIZE; ++i) | |
995 | assertEquals(l.get(i), new Integer(i)); | |
996 | t.join(); | |
997 | < | assertTrue(q.size() + l.size() == SIZE+1); |
997 | > | assertTrue(q.size() + l.size() >= SIZE); |
998 | } catch(Exception e){ | |
999 | unexpectedException(); | |
1000 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |