out.write(resources.getHTML("Report.File_Type"));
out.write("</th></tr>\n");
// write a row for each file
for (int i = 0; i < files.size(); i++) {
DiffResult file = files.get(i);
if (file.getChangeType() == type) {
out.write("<tr><td>");
boolean hasRedlines = file.hasRedlines() && !noRedlines;
if (hasRedlines)
out.write("<a href=\"#" + getFileAnchor(file, i) + "\">");
out.write(HTMLUtils.escapeEntities(file.getFile().getFilename()));
if (hasRedlines)
out.write("<span title=\""
+ resources.getHTML("Report.SET_Drag_Tooltip")
+ "\" class=\"setHelp\"> </span></a>");
out.write("</td>");
for (AccountingType col : AccountingType.values()) {
if (SHOW_COLUMNS[type.ordinal()][col.ordinal()]) {
out.write("<td>");
out.write(Integer.toString(file.getLocCount(col)));
out.write("</td>");
}
}
out.write("<td>");
out.write(HTMLUtils.escapeEntities(AbstractLanguageFilter
.getFilterName(file.getLanguageFilter())));
out.write("</td></tr>\n");
}
}
out.write("</table>\n");