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

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

Robert Munteanu created SLING-4798:
--------------------------------------

             Summary: 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
             Fix For: Resource Resolver 1.2.6


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)