jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sal...@apache.org
Subject svn commit: r1374093 - /jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/resultset/XMLInputStAX.java
Date Thu, 16 Aug 2012 22:39:12 GMT
Author: sallen
Date: Thu Aug 16 22:39:12 2012
New Revision: 1374093

URL: http://svn.apache.org/viewvc?rev=1374093&view=rev
Log:
JENA-298 Slightly better fix for ResultSetStAX.hasNext()

Modified:
    jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/resultset/XMLInputStAX.java

Modified: jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/resultset/XMLInputStAX.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/resultset/XMLInputStAX.java?rev=1374093&r1=1374092&r2=1374093&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/resultset/XMLInputStAX.java (original)
+++ jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/resultset/XMLInputStAX.java Thu
Aug 16 22:39:12 2012
@@ -239,7 +239,7 @@ class XMLInputStAX extends SPARQLResult
         boolean b = (binding != null) ;
         //parser.close() ; // Some way to close the input stream.
         if (!b)
-            finished = true ;
+            close();
         return b ;
     }
 



Mime
View raw message