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

Make DocumentNodeState immutable

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.7, 1.6.0
    • documentmk
    • None

    Description

      With OAK-4584 most of mutable operation on DocumentNodeState have been removed. Only code (outside of test) which modify it is in NodeDocument#getNodeAtRevision. This can be modified to create complete DocumentNodeState in one go.

      This would also simplify work in OAK-1312 and is overall a good change to do

      Attachments

        1. OAK-4592-v1.patch
          15 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: