jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [2/6] jena git commit: Make close a no-op.
Date Thu, 20 Aug 2015 12:06:17 GMT
Make close a no-op.  

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/f1446c8c
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/f1446c8c
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/f1446c8c

Branch: refs/heads/JENA-491-construct-quads
Commit: f1446c8c8d8f3aafb8fc8300b35a03274de0ec8c
Parents: 1a49a2f
Author: Andy Seaborne <andy@apache.org>
Authored: Wed Aug 19 14:19:59 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Wed Aug 19 14:19:59 2015 +0100

----------------------------------------------------------------------
 jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/f1446c8c/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java
----------------------------------------------------------------------
diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java b/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java
index 93fbf69..be2d8b8 100644
--- a/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java
+++ b/jena-tdb/src/main/java/org/apache/jena/tdb/store/GraphTDB.java
@@ -92,7 +92,9 @@ public class GraphTDB extends GraphView implements Closeable, Sync {
     @Override
     final public void close() {
         sync() ;
-        super.close() ;
+        // Ignore - graphs are projectsion of the overlying database.
+        // "Close graph" is messy in this projection world. 
+        //super.close() ;
     }
 
     protected static ExtendedIterator<Triple> graphBaseFindDft(DatasetGraphTDB dataset,
Triple triple) {


Mime
View raw message