[
https://issues.apache.org/jira/browse/JENA-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042183#comment-14042183
]
ASF subversion and git services commented on JENA-725:
------------------------------------------------------
Commit 1605097 from [~andy.seaborne] in branch 'jena/trunk'
[ https://svn.apache.org/r1605097 ]
JENA-725 : QueryExecution extends AutoCloseable
JENA-727 : Add QueryExecution.isClosed
> Make QueryExecution implement (Auto)Closeable
> ---------------------------------------------
>
> Key: JENA-725
> URL: https://issues.apache.org/jira/browse/JENA-725
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Affects Versions: Jena 2.11.2
> Reporter: Hendy Irawan
> Assignee: Andy Seaborne
>
> 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).
--
This message was sent by Atlassian JIRA
(v6.2#6252)