[ 
https://issues.apache.org/jira/browse/JENA-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039750#comment-14039750
 ] 

Andy Seaborne commented on JENA-725:
------------------------------------

Reading the javadoc for {{AutoClosable}}, we simply declare 
{{QueryExecution.close}} without an exception. The javadoc {{AutoClosable}} for 
in JDK-8 has been expanded somewhat.

> Make QueryExecution implement 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
>
> In JDK 7, {{Closeable}} can be used with try-with-resources for more 
> convenient programming structure.
> 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)

Reply via email to