You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Tom Saleeba <an...@apache.org> on 2014/11/27 01:16:59 UTC

CMS diff: ARQ - Application API

Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://jena.apache.org/documentation%2Fquery%2Fapp_api.mdtext

Tom Saleeba

Index: trunk/content/documentation/query/app_api.mdtext
===================================================================
--- trunk/content/documentation/query/app_api.mdtext	(revision 1641967)
+++ trunk/content/documentation/query/app_api.mdtext	(working copy)
@@ -42,7 +42,7 @@
       Model model = ... ;
       String queryString = " .... " ;
       Query query = QueryFactory.create(queryString) ;
-      try (QueryExecution qexec = QueryExecutionFactory.create(query, model))
+      try (QueryExecution qexec = QueryExecutionFactory.create(query, model)) {
         ResultSet results = qexec.execSelect() ;
         for ( ; results.hasNext() ; )
         {


Re: CMS diff: ARQ - Application API

Posted by Rob Vesse <rv...@dotnetrdf.org>.
Tom

Thanks for the further patch.  Applied and published

Cheers,

Rob

On 27/11/2014 00:16, "Tom Saleeba" <an...@apache.org> wrote:

>Clone URL (Committers only):
>https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://jena.
>apache.org/documentation%2Fquery%2Fapp_api.mdtext
>
>Tom Saleeba
>
>Index: trunk/content/documentation/query/app_api.mdtext
>===================================================================
>--- trunk/content/documentation/query/app_api.mdtext	(revision 1641967)
>+++ trunk/content/documentation/query/app_api.mdtext	(working copy)
>@@ -42,7 +42,7 @@
>       Model model = ... ;
>       String queryString = " .... " ;
>       Query query = QueryFactory.create(queryString) ;
>-      try (QueryExecution qexec = QueryExecutionFactory.create(query,
>model))
>+      try (QueryExecution qexec = QueryExecutionFactory.create(query,
>model)) {
>         ResultSet results = qexec.execSelect() ;
>         for ( ; results.hasNext() ; )
>         {
>