Mercurial > hg > openjdk > lambda > jdk
changeset 7540:9619ab4afc70
Remove redundant variable and assignment.
author | psandoz |
---|---|
date | Wed, 27 Feb 2013 12:16:39 +0100 |
parents | eadbf7bcb6f8 |
children | e27acedff205 |
files | src/share/classes/java/util/Vector.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/java/util/Vector.java Tue Feb 26 17:34:47 2013 +0100 +++ b/src/share/classes/java/util/Vector.java Wed Feb 27 12:16:39 2013 +0100 @@ -1360,8 +1360,8 @@ @SuppressWarnings("unchecked") public boolean tryAdvance(Consumer<? super E> action) { - int i, hi; - if ((hi = getFence()) > (i = index)) { + int i; + if (getFence() > (i = index)) { index = i + 1; action.accept((E)array[i]); if (list.modCount != expectedModCount)