Mercurial > hg > graal-jvmci-8
changeset 16949:67fd1846f95f
removed repeated conditional test detected by findbugs
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 26 Aug 2014 16:16:26 +0200 |
parents | d569f2fafb6a |
children | 559ab93c1ad6 |
files | graal/com.oracle.graal.graph/src/com/oracle/graal/graph/GraphNodeIterator.java |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.graph/src/com/oracle/graal/graph/GraphNodeIterator.java Tue Aug 26 15:57:08 2014 +0200 +++ b/graal/com.oracle.graal.graph/src/com/oracle/graal/graph/GraphNodeIterator.java Tue Aug 26 16:16:26 2014 +0200 @@ -57,10 +57,8 @@ } private void checkForDeletedNode() { - if (index < graph.nodesSize) { - while (index < graph.nodesSize && graph.nodes[index] == null) { - index++; - } + while (index < graph.nodesSize && graph.nodes[index] == null) { + index++; } }