} finally {
IOUtils.closeQuietly(out);
}
}
private String outputNameOf(Report report) {
<BUG>String name = report.getName();
if (automaticExtension && ! name.endsWith(extensionOf(report))) {
name += extensionOf(report);
}
return name;
}</BUG>
private String extensionOf(Report report) {

} finally {
IOUtils.closeQuietly(out);
}
}
private String outputNameOf(Report report) {
String name = report.getName();
StringBuilder sb = new StringBuilder(name);
if (automaticExtension && ! name.endsWith(extensionOf(report))) {
sb.append(extensionOf(report));
}
return sb.toString();
}
private String extensionOf(Report report) {
