# | Line 711 | Line 711 | public class ArrayDequeTest extends JSR1 | |
---|---|---|
711 | Integer x = (Integer) it.next(); | |
712 | assertEquals(s + i, (int) x); | |
713 | for (Object[] a : as) | |
714 | < | assertSame(a1[i], x); |
714 | > | assertSame(a[i], x); |
715 | } | |
716 | } | |
717 | ||
# | Line 745 | Line 745 | public class ArrayDequeTest extends JSR1 | |
745 | ArrayDeque l = new ArrayDeque(); | |
746 | l.add(new Object()); | |
747 | try { | |
748 | < | l.toArray(null); |
748 | > | l.toArray((Object[])null); |
749 | shouldThrow(); | |
750 | } catch (NullPointerException success) {} | |
751 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |