You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Stephen Kitt (JIRA)" <ji...@apache.org> on 2017/05/31 22:34:04 UTC

[jira] [Created] (KARAF-5170) Use try-with-resources

Stephen Kitt created KARAF-5170:
-----------------------------------

             Summary: 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
            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)