You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2019/07/31 09:16:00 UTC

[jira] [Created] (JCRVLT-348) Implement AutoCloseable for classes which have a close method

Konrad Windszus created JCRVLT-348:
--------------------------------------

             Summary: Implement AutoCloseable for classes which have a close method
                 Key: JCRVLT-348
                 URL: https://issues.apache.org/jira/browse/JCRVLT-348
             Project: Jackrabbit FileVault
          Issue Type: Improvement
          Components: vlt
    Affects Versions: 3.2.8
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus


To be able to close with [try with resources|https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html] all interfaces which provide a close() method (not throwing any unchecked exceptions) should extend from {{AutoCloseable}} (https://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html) 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)