Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4798

ResourceResolver should extend java.io.Closeable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Resource Resolver 1.2.4
    • None
    • ResourceResolver
    • None

    Description

      As discussed at dev@sling : Make ResourceResolver implement Closeable, 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 )

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rombert Robert Munteanu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: