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/05/12 12:53:00 UTC
[jira] [Created] (COMMONSRDF-25) Remove mentions of "local scope"
in .equals()
Stian Soiland-Reyes created COMMONSRDF-25:
---------------------------------------------
Summary: 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)