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

DocumentStore.getIfCached() must not return NodeDocument.NULL

    XMLWordPrintableJSON

Details

    Description

      In OAK-3559 tomek.rekawek identified an issue with MongoDocumentStore.getIfCached(). The method may return NodeDocument.NULL, when it should actually return null. The contract of the method does not mention it explicitly, but returning null is consistent with other find methods and makes sense IMO.

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: