You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/06/13 17:32:01 UTC

[jira] [Resolved] (SLING-4798) ResourceResolver should extend java.io.Closeable

     [ https://issues.apache.org/jira/browse/SLING-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-4798.
-------------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: Resource Resolver 1.2.6)

> ResourceResolver should extend java.io.Closeable
> ------------------------------------------------
>
>                 Key: SLING-4798
>                 URL: https://issues.apache.org/jira/browse/SLING-4798
>             Project: Sling
>          Issue Type: Improvement
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.2.4
>            Reporter: Robert Munteanu
>
> As discussed at [dev@sling : Make ResourceResolver implement Closeable|http://sling-dev.markmail.org/thread/fbvium36fnx6emol], the ResourceResolver should extend java.io.Closeable. This will allow its usage in the try-with-resources statement,while preserving compatibility with older versions ( java.io.Closeable was added in Java 1.5 )



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)