You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2015/08/20 14:06:17 UTC

[2/6] jena git commit: Make close a no-op.

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 <an...@apache.org>
Authored: Wed Aug 19 14:19:59 2015 +0100
Committer: Andy Seaborne <an...@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) {