[
https://issues.apache.org/jira/browse/KNOX-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Risden updated KNOX-1677:
-------------------------------
Description: There are places where we explicitly close() resources that
can instead by try-with-resources. This avoids the finally block or in other
cases missing the close() on an exception. (was: There are places where we
explicitly close() resources that can instead by try-with-resources. This
avoids the finally block or in other cases missing the .close on an exception.)
> Use try-with-resources to ensure that resources are closed
> ----------------------------------------------------------
>
> Key: KNOX-1677
> URL: https://issues.apache.org/jira/browse/KNOX-1677
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
> Fix For: 1.3.0
>
> Attachments: KNOX-1677.patch
>
>
> There are places where we explicitly close() resources that can instead by
> try-with-resources. This avoids the finally block or in other cases missing
> the close() on an exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)