You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <ji...@apache.org> on 2009/11/24 20:15:39 UTC
[jira] Resolved: (HUPA-54) DownloadAttachmentServlet should use
IOUtils.closeQueitly
[ https://issues.apache.org/jira/browse/HUPA-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved HUPA-54.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.1
Thx for the patch... applied to trunk
> DownloadAttachmentServlet should use IOUtils.closeQueitly
> ---------------------------------------------------------
>
> Key: HUPA-54
> URL: https://issues.apache.org/jira/browse/HUPA-54
> Project: JAMES Hupa
> Issue Type: Improvement
> Components: server
> Affects Versions: 0.1
> Reporter: Eric Jablow
> Assignee: Norman Maurer
> Priority: Trivial
> Fix For: 0.1
>
> Attachments: hupa.download.io.patch
>
> Original Estimate: 0.03h
> Remaining Estimate: 0.03h
>
> DownloadAttachmentServlet contains two blocks of code like:
> if (in != null) {
> try {
> in.close()
> } catch(IOException e) {
> // Ignored
> }
> }
> This project uses Apache Commons IO; it should use IOUtils.closeQuietly(InputStream s) and the corresponding output stream version. I have made a small patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org