Joern Kottmann created UIMA-5931:
------------------------------------

             Summary: Use try-with-resources where possible
                 Key: UIMA-5931
                 URL: https://issues.apache.org/jira/browse/UIMA-5931
             Project: UIMA
          Issue Type: Improvement
            Reporter: Joern Kottmann
            Assignee: Marshall Schor


The try-with-resources statement allows writing code dealing with resources in 
a more compact way. It is no longer necessary to write finally blocks by hand. 

This patch replaces as many as possible try statements with the 
try-with-resources statement.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to