You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2019/02/05 21:17:00 UTC

[jira] [Resolved] (UIMA-5931) Use try-with-resources where possible

     [ 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)