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

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

    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

        1. equals_fix.diff
          0.7 kB
          David Brosius

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: