Iterator<String> lIt = loop.iterator(); while (lIt.hasNext()) { String loopCls = lIt.next();
for (String loopCls : loop) {
	public void report() {		removeDependencyLeaves(dependencyGraph);				LoopFinder lf = new LoopFinder();				while (dependencyGraph.size() > 0) {			String clsName = dependencyGraph.keySet().iterator().next();			Set<String> loop = lf.findLoop(dependencyGraph, clsName);			boolean pruneLeaves;			if (loop != null) {				BugInstance bug = new BugInstance(						this,						"CD_CIRCULAR_DEPENDENCY",						NORMAL_PRIORITY);				Iterator<String> lIt = loop.iterator();				while (lIt.hasNext()) {					String loopCls = lIt.next();					bug.addClass(loopCls);				}				bugReporter.reportBug(bug);				pruneLeaves = removeLoopLinks(dependencyGraph, loop);			} else {				dependencyGraph.remove(clsName);				pruneLeaves = true;			}			if (pruneLeaves)				removeDependencyLeaves(dependencyGraph);		}					dependencyGraph.clear();	}