# | Line 901 | Line 901 | public class ArrayDeque<E> extends Abstr | |
---|---|---|
901 | throw new NullPointerException(); | |
902 | Object[] a = deq.elements; | |
903 | int m = a.length - 1, f = getFence(), i = index; | |
904 | < | if (i != fence) { |
904 | > | if (i != f) { |
905 | @SuppressWarnings("unchecked") E e = (E)a[i]; | |
906 | index = (i + 1) & m; | |
907 | if (e == null) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |