Fix applied - thanks

On 05/04/16 13:51, alex wrote:
Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://jena.apache.org/documentation%2Fjdbc%2Findex.mdtext

alex

Index: trunk/content/documentation/jdbc/index.mdtext
===================================================================
--- trunk/content/documentation/jdbc/index.mdtext       (revision 1655891)
+++ trunk/content/documentation/jdbc/index.mdtext       (working copy)
@@ -115,7 +115,7 @@
        ResultSet rset = stmt.executeQuery("SELECT DISTINCT ?type WHERE { ?s a ?type 
} LIMIT 100");

        // Iterate over results
-      while (rest.next()) {
+      while (rset.next()) {
          // Print out type as a string
          System.out.println(rset.getString("type"));
        }


Reply via email to