[
https://issues.apache.org/jira/browse/OAK-4470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387664#comment-15387664
]
Marcel Reutegger commented on OAK-4470:
---------------------------------------
Yes, I was wondering as well, but then how does it get the rootRevision for
getRootRevision()?
> Remove read revision method from DocumentNodeState
> --------------------------------------------------
>
> Key: OAK-4470
> URL: https://issues.apache.org/jira/browse/OAK-4470
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: documentmk
> Reporter: Chetan Mehrotra
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 1.6
>
> Attachments: OAK-4470.patch
>
>
> {{DocumentNodeState}} has a {{getRevision}} method which provides the read
> revision which was used at time of getting a {{DocumentNodeState}} out of
> {{NodeDocument}}. Looking at usage of this method indicates that its only
> used for root node and that usage can be replaced with call to
> {{getRootRevision}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)