Update JasperReportsResult.java

This commit is contained in:
victor sosa
2016-01-04 12:23:44 -04:00
parent f9b7ebb87e
commit 4c96d239dd
@@ -385,12 +385,6 @@ public class JasperReportsResult extends StrutsResultSupport implements JasperRe
} catch (JRException e) {
LOG.error("Error producing {} report for uri {}", format, systemId, e);
throw new ServletException(e.getMessage(), e);
} finally {
try {
conn.close();
} catch (Exception e) {
LOG.warn("Could not close db connection properly", e);
}
}
response.setContentLength(output.size());