316317318319320321322323324
} // add ending node to list so a full circuit is shown circularity.add(recipe); throw new CircularDependencyException(circularity); } stack.add(recipe); }
338339340341342343344345346347348
} // add ending node to list so a full circuit is shown circularity.add(recipe); throw new CircularDependencyException(circularity); } if (list == null) { list = new LinkedList<Recipe>(); stack.set(list); }
313314315316317318319320321322323
116117118119120121122123124125126
} // add ending node to list so a full circuit is shown circularity.add(node.recipe); throw new CircularDependencyException(circularity); } stack.add(node.recipe); for (Node reference : node.references) { findCircuit(reference, stack);