jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [09/20] jena git commit: Drop into isomorphicsm testing if not simply equivalent.
Date Tue, 08 Sep 2015 17:10:41 GMT
Drop into isomorphicsm testing if not simply equivalent.


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

Branch: refs/heads/master
Commit: 13294cb82da7ac6c3c74b750897fb0d62680ce72
Parents: d4da1a5
Author: Andy Seaborne <andy@apache.org>
Authored: Tue Sep 8 11:45:43 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Tue Sep 8 18:08:12 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/jena/sparql/resultset/ResultSetCompare.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/13294cb8/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
b/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
index 34e793a..eb3c329 100644
--- a/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
+++ b/jena-arq/src/main/java/org/apache/jena/sparql/resultset/ResultSetCompare.java
@@ -133,11 +133,12 @@ public class ResultSetCompare
         ResultSetRewindable rs1a = ResultSetFactory.makeRewindable(rs1) ;
         ResultSetRewindable rs2a = ResultSetFactory.makeRewindable(rs2) ;
         
+        // Aligned rows
         if ( equivalent(convert(rs1a), convert(rs2a), new BNodeIso(NodeUtils.sameTerm)) )
             return true ;
         rs1a.reset() ;    
         rs2a.reset() ;
-        return isomorphic(rs1, rs2) ;
+        return isomorphic(rs1a, rs2a) ;
     }
 
     


Mime
View raw message