You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/07/26 13:40:20 UTC

[jira] [Resolved] (OAK-4592) Make DocumentNodeState immutable

     [ https://issues.apache.org/jira/browse/OAK-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra resolved OAK-4592.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.7

> Make DocumentNodeState immutable
> --------------------------------
>
>                 Key: OAK-4592
>                 URL: https://issues.apache.org/jira/browse/OAK-4592
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: documentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.6, 1.5.7
>
>         Attachments: OAK-4592-v1.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)