You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commonsrdf.apache.org by "Stian Soiland-Reyes (JIRA)" <ji...@apache.org> on 2015/08/01 01:49:05 UTC

[jira] [Resolved] (COMMONSRDF-25) Remove mentions of "local scope" in .equals()

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

Stian Soiland-Reyes resolved COMMONSRDF-25.
-------------------------------------------
    Resolution: Fixed

> Remove mentions of "local scope" in .equals()
> ---------------------------------------------
>
>                 Key: COMMONSRDF-25
>                 URL: https://issues.apache.org/jira/browse/COMMONSRDF-25
>             Project: Apache Commons RDF
>          Issue Type: Bug
>            Reporter: Stian Soiland-Reyes
>            Assignee: Stian Soiland-Reyes
>             Fix For: 0.2
>
>
> Some of the equals() docs still include texts like 
> >  Implementations MAY check the local scope for Literal comparison. Implementations MUST also override hashCode() so that two equal Literals produce the same hash code. 
> > Implementations MUST check the local scope for Triple comparison if either the subject or object is a BlankNode, and MAY check the local scope in other cases. 
> These are leftovers from before COMMONSRDF-6 which hardened BlankNode equality, and there is no longer any sense of "local scope". Thus all these mentions should be removed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)