Uploaded image for project: 'Apache Commons RDF'
  1. Apache Commons RDF
  2. COMMONSRDF-25

Remove mentions of "local scope" in .equals()

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            stain Stian Soiland-Reyes
            stain Stian Soiland-Reyes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment