jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [12/18] jena git commit: Tidy containsGraph
Date Sat, 09 Jul 2016 09:39:08 GMT
Tidy containsGraph

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

Branch: refs/heads/master
Commit: 420e95f5e2b1de22796cff00860bbfd935640a58
Parents: e7e13f8
Author: Andy Seaborne <andy@apache.org>
Authored: Fri Jul 8 21:35:23 2016 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Fri Jul 8 21:35:23 2016 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/tdb/store/DatasetGraphTDB.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/420e95f5/jena-tdb/src/main/java/org/apache/jena/tdb/store/DatasetGraphTDB.java
----------------------------------------------------------------------
diff --git a/jena-tdb/src/main/java/org/apache/jena/tdb/store/DatasetGraphTDB.java b/jena-tdb/src/main/java/org/apache/jena/tdb/store/DatasetGraphTDB.java
index fcd8f44..ce1786e 100644
--- a/jena-tdb/src/main/java/org/apache/jena/tdb/store/DatasetGraphTDB.java
+++ b/jena-tdb/src/main/java/org/apache/jena/tdb/store/DatasetGraphTDB.java
@@ -129,7 +129,7 @@ public class DatasetGraphTDB extends DatasetGraphTriplesQuads
     @Override
     // Empty graphs don't "exist" 
     public boolean containsGraph(Node graphNode) { 
-        if ( Quad.isDefaultGraphExplicit(graphNode) || Quad.isUnionGraph(graphNode)  )
+        if ( Quad.isDefaultGraph(graphNode) || Quad.isUnionGraph(graphNode)  )
             return true ;
         // Have to look explicitly, which is a bit of a nuisance.
         // But does not normally happen for GRAPH <g> because that's rewritten to quads.


Mime
View raw message