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 22:00:00 UTC

[jira] [Assigned] (JENA-1478) DifferenceDatasetGraph.contains

     [ https://issues.apache.org/jira/browse/JENA-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne reassigned JENA-1478:
-----------------------------------

    Assignee: Andy Seaborne

> 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
>            Assignee: Andy Seaborne
>            Priority: Major
>             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)