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

Make DocumentNodeState immutable

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment