Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4130

Simplify IdentifierManager.getReferences

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.1, 1.6.0
    • core

    Description

      with the improvements suggested in OAK-4119 we can simplify IdentifierManager.getReferences it is will only be used by Node.get(Weak)References, which doesn't need the whole bunch of flexibility provided by the method as it is today.

      this might also be beneficial from a performance point of view as with the proposed changes the tree associated with a given result row is no longer resolved in case a property-name has been specified. also the nt-verification can be completely omitted, which afaik isn't perfectly cheap either.

      Attachments

        1. OAK-4130.patch
          10 kB
          Angela Schreiber

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: