out.println(" </div>");
out.println("</div>");
}
private void exportChange(StructuralChange<?> change, boolean defectsColumn, FilePrintWriter out) throws IOException {
DBObject mainObject = mainObject(change);
SanityCheck check = change.getCheck();
out.println("<tr>");
// column #1: object
printCell(renderMainObject(mainObject, out.getFile()), out);
// column #2: type
printCell(change.getType(), out);
// column #3: details
printCell(change.getDetails(), out);
// column #4: constraint name
DBObject affectedObject = change.getAffectedObject();
printCell(affectedObject instanceof DBConstraint ? affectedObject.getName() : null, out);
// column #5: defects
if (defectsColumn) {
SanityCheckVerdict verdict = check.getVerdict();
File targetPage = (verdict == SanityCheckVerdict.PASSED ? ReportUtil.getDocPage(check) : ReportUtil.getDefectsOrErrorPage(check));
String label = (verdict == SanityCheckVerdict.FAILED ? String.valueOf(check.getDefectCount()) : (verdict == SanityCheckVerdict.ERROR ? "ERROR" : "NONE"));