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:39:00 UTC
[jira] [Resolved] (JCRVLT-348) Implement AutoCloseable for classes
which have a close method
[ https://issues.apache.org/jira/browse/JCRVLT-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus resolved JCRVLT-348.
------------------------------------
Resolution: Fixed
Fix Version/s: 3.2.10
Fixed in https://svn.apache.org/r1864041.
> 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
> Priority: Major
> Fix For: 3.2.10
>
>
> 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)