comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeUtil.java @ 18163:c88ab4f1f04a

re-enabled Checkstyle with the release of 6.0 that supports Java 8; fixed existing Checkstyle warnings
author Doug Simon <doug.simon@oracle.com>
date Fri, 24 Oct 2014 16:18:10 +0200
parents 5787218bad91
children 65a160d9d259
comparison
equal deleted inserted replaced
18162:ab62800259ff 18163:c88ab4f1f04a
346 346
347 public static Iterator<Node> makeRecursiveIterator(Node node) { 347 public static Iterator<Node> makeRecursiveIterator(Node node) {
348 return new RecursiveNodeIterator(node); 348 return new RecursiveNodeIterator(node);
349 } 349 }
350 350
351 private final static class RecursiveNodeIterator implements Iterator<Node> { 351 private static final class RecursiveNodeIterator implements Iterator<Node> {
352 private final List<Iterator<Node>> iteratorStack = new ArrayList<>(); 352 private final List<Iterator<Node>> iteratorStack = new ArrayList<>();
353 353
354 public RecursiveNodeIterator(final Node node) { 354 public RecursiveNodeIterator(final Node node) {
355 iteratorStack.add(new Iterator<Node>() { 355 iteratorStack.add(new Iterator<Node>() {
356 356