Repository: jena Updated Branches: refs/heads/master aee73fe5e -> ba660daaa
JENA-860 : Use super.addGraph where the cache is also managed. Project: http://git-wip-us.apache.org/repos/asf/jena/repo Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/74fbde48 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/74fbde48 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/74fbde48 Branch: refs/heads/master Commit: 74fbde48a7bcf87b86d4dca496c1ded6e9ee69a9 Parents: aee73fe Author: Andy Seaborne <[email protected]> Authored: Thu Jan 22 19:12:21 2015 +0000 Committer: Andy Seaborne <[email protected]> Committed: Thu Jan 22 19:12:21 2015 +0000 ---------------------------------------------------------------------- .../com/hp/hpl/jena/tdb/store/DatasetGraphTDB.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jena/blob/74fbde48/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/DatasetGraphTDB.java ---------------------------------------------------------------------- diff --git a/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/DatasetGraphTDB.java b/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/DatasetGraphTDB.java index 7fc024f..7ff095e 100644 --- a/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/DatasetGraphTDB.java +++ b/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/DatasetGraphTDB.java @@ -28,7 +28,6 @@ import org.apache.jena.atlas.lib.Sync ; import org.apache.jena.atlas.lib.Tuple ; import com.hp.hpl.jena.graph.Graph ; -import com.hp.hpl.jena.graph.GraphUtil ; import com.hp.hpl.jena.graph.Node ; import com.hp.hpl.jena.graph.Triple ; import com.hp.hpl.jena.query.Dataset ; @@ -282,18 +281,8 @@ public class DatasetGraphTDB extends DatasetGraphCaching @Override public Dataset toDataset() { return DatasetImpl.wrap(this) ; } - // ---- DataSourceGraph - - @Override - public void addGraph(Node graphName, Graph graph) - { - Graph g = getGraph(graphName) ; - GraphUtil.addInto(g, graph) ; - } - @Override - public void setDefaultGraph(Graph g) - { + public void setDefaultGraph(Graph g) { throw new UnsupportedOperationException("Can't set default graph via GraphStore on a TDB-backed dataset") ; }
