You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/02/05 13:16:00 UTC
[jira] [Created] (JENA-1478) DifferenceDatasetGraph.contains
Andy Seaborne created JENA-1478:
-----------------------------------
Summary: DifferenceDatasetGraph.contains
Key: JENA-1478
URL: https://issues.apache.org/jira/browse/JENA-1478
Project: Apache Jena
Issue Type: Bug
Affects Versions: Jena 3.6.0
Reporter: Andy Seaborne
Fix For: Jena 3.7.0
(Assuming "difference is set-difference" not symmetric difference")
defined "contains" as
{noformat}
public boolean contains(Node g, Node s, Node p, Node o) {
return both(dsg -> dsg.contains(g, s, p, o));
}
{noformat}
This should be:
{noformat}
public boolean contains(Node g, Node s, Node p, Node o) {
return getLeft().contains(g, s, p, o) && ! getRight().contains(g, s, p, o);
}
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)