uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-5931) Use try-with-resources where possible
Date Tue, 05 Feb 2019 21:17:00 GMT

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

Mime
View raw message