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 2017/06/08 14:38:27 UTC

[9/9] jena git commit: JENA-1074: Use match parameters

JENA-1074: Use match parameters


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

Branch: refs/heads/master
Commit: 3baf1a36f7d68df7e4e1ba218cefdccc54eb3563
Parents: aeedc50
Author: Andy Seaborne <an...@apache.org>
Authored: Thu Jun 8 15:38:08 2017 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Thu Jun 8 15:38:08 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/sparql/graph/GraphUnionRead.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/3baf1a36/jena-arq/src/main/java/org/apache/jena/sparql/graph/GraphUnionRead.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/graph/GraphUnionRead.java b/jena-arq/src/main/java/org/apache/jena/sparql/graph/GraphUnionRead.java
index fa4115e..e675d6f 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/graph/GraphUnionRead.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/graph/GraphUnionRead.java
@@ -82,7 +82,7 @@ public class GraphUnionRead extends GraphBase {
         if ( graphs == null ) {
             // This produces unique quads with the same graph node,
             // hence the triples are distinct. 
-            Iterator<Quad> qIter = dataset.findNG(Quad.unionGraph, Node.ANY, Node.ANY, Node.ANY);
+            Iterator<Quad> qIter = dataset.findNG(Quad.unionGraph, m.getSubject(), m.getPredicate(), m.getObject());
             Iterator<Triple> tIter = Iter.map(qIter, quad->quad.asTriple());
             return WrappedIterator.createNoRemove(tIter) ;
         }