Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2392

[patch] QValueFactoryImpl.equals doesn't do compare correctly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6, 2.0-beta1
    • 2.0-beta3
    • jackrabbit-spi2dav
    • None

    Description

      equals compares it's uri to it's own uri, as poosed to the other one.

      // for both the value has not been loaded yet
      if (!initialized) {
      if (other.uri != null)

      { - return uri.equals(uri); + return other.uri.equals(uri); }

      else {
      // need to load the binary value in order to be able
      // to compare the 2 values.

      Attachments

        Activity

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

          People

            yabon Sébastien Launay
            dbrosius David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment