[
https://issues.apache.org/jira/browse/JENA-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hendy Irawan updated JENA-725:
------------------------------
Description:
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).
was:
In JDK 7, {{Closeable}} can be used with try-with-resources for more convenient
programming structure.
However, close() throws Exception so I hope this can be approved for at least
the next major Jena ARQ version (2.12).
> 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)