You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/06/01 06:15:04 UTC
[jira] [Commented] (KARAF-5170) Use try-with-resources
[ https://issues.apache.org/jira/browse/KARAF-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032517#comment-16032517 ]
ASF subversion and git services commented on KARAF-5170:
--------------------------------------------------------
Commit 1850106fb755579acb192f2a1db8794a2a675c08 in karaf's branch refs/heads/master from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=1850106 ]
[KARAF-5170] This closes #308
> Use try-with-resources
> ----------------------
>
> Key: KARAF-5170
> URL: https://issues.apache.org/jira/browse/KARAF-5170
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-core
> Affects Versions: 4.2.0
> Reporter: Stephen Kitt
> Assignee: Jean-Baptiste Onofré
> Priority: Trivial
>
> Some closeable resources are initialised and closed using standard try-finally blocks; they could be replaced with try-with-resources.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)