Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-725

Make QueryExecution implement (Auto)Closeable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 2.11.2
    • Jena 2.12.0
    • ARQ
    • None

    Description

      In JDK 7, Closeable can be used with try-with-resources for more convenient programming structure. (and is compatible with JDK 6, if so desired)

      However, Closeable.close() throws IOException so I hope this can be approved for at least the next major Jena ARQ version (2.12).

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              ceefour Hendy Irawan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: