Kevin Risden created KNOX-1677: ---------------------------------- Summary: 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 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)