Viraj Jasani created PHOENIX-5697:
-------------------------------------

             Summary: Avoid resource leakage with try-with-resources
                 Key: PHOENIX-5697
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5697
             Project: Phoenix
          Issue Type: Improvement
    Affects Versions: 5.1.0, 4.15.1
            Reporter: Viraj Jasani
            Assignee: Viraj Jasani


There are places where we catch IOException in finally block while closing a 
closable resource. If we could use try-with-resources to deal with closure of 
resources, that would not let us worry about catching IOException while closing 
the resources and would be a better replacement.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to