# | Line 866 | Line 866 | public class ArrayDeque<E> extends Abstr | |
---|---|---|
866 | public boolean tryAdvance(Consumer<? super E> action) { | |
867 | if (action == null) | |
868 | throw new NullPointerException(); | |
869 | < | int t, i; |
870 | < | if ((t = fence) < 0) t = getFence(); |
871 | < | if (t == (i = cursor)) |
869 | > | final int t, i; |
870 | > | if ((t = getFence()) == (i = cursor)) |
871 | return false; | |
872 | final Object[] es = elements; | |
873 | cursor = inc(i, es.length); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |