[ https://issues.apache.org/jira/browse/UIMA-5931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor resolved UIMA-5931. ---------------------------------- Resolution: Fixed > 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 > Priority: Minor > Fix For: 3.0.2SDK > > Attachments: uima-try-with-resources.patch > > > 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)