for (Iterator<BugPattern> i = bugPatternSet.iterator(); i.hasNext(); ) { BugPattern bugPattern = i.next();
for (BugPattern bugPattern : bugPatternSet) {
	private void emitSummaryTable() {		PrintStream out = getPrintStream();		out.println("<h2>Summary</h2>");		out.println("<table width=\"100%\">");		out.println("<tr bgcolor=\"#b9b9fe\"><th>Description</th><th>Category</th></tr>");		ColorAlternator colorAlternator = new ColorAlternator(TABLE_COLORS);		for (Iterator<BugPattern> i = bugPatternSet.iterator(); i.hasNext(); ) {			BugPattern bugPattern = i.next();			out.print("<tr bgcolor=\"" + colorAlternator.nextColor() + "\">");			out.print("<td><a href=\"#" + bugPattern.getType() + "\">" +				bugPattern.getAbbrev() + ": " + bugPattern.getShortDescription() +				"</a></td>");			out.println("<td>" + I18N.instance().getBugCategoryDescription(bugPattern.getCategory()) + "</td></tr>");		}		out.println("</table>");	}