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 <[email protected]> Authored: Wed Aug 19 14:19:59 2015 +0100 Committer: Andy Seaborne <[email protected]> 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) {
