jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [9/9] jena git commit: JENA-1074: Use match parameters
Date Thu, 08 Jun 2017 14:38:27 GMT
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 <andy@apache.org>
Authored: Thu Jun 8 15:38:08 2017 +0100
Committer: Andy Seaborne <andy@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) ;
         }


Mime
View raw message