jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3102) InternalVersion.getFrozenNode confused about root version?
Date Fri, 07 Oct 2011 14:05:29 GMT

    [ https://issues.apache.org/jira/browse/JCR-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122812#comment-13122812

Jukka Zitting commented on JCR-3102:

It looks like the null reference in javadoc was added in revision 122838 based on code from
revision 53784 [2]. So this dates back to time before JCR 1.0. I guess the javadoc is simply
outdated and refers back to the initial idea of the root version not having any frozen state.
AFAICT the idea of including basic details of the node in the root version came a bit later.

[1] http://svn.apache.org/viewvc?view=revision&revision=122838
[2] http://svn.apache.org/viewvc?view=revision&revision=53784
> InternalVersion.getFrozenNode confused about root version?
> ----------------------------------------------------------
>                 Key: JCR-3102
>                 URL: https://issues.apache.org/jira/browse/JCR-3102
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: jackrabbit-core
>            Reporter: Julian Reschke
>            Priority: Minor
> It seems the javadoc for InternalVersion.getFrozenNode  is confused:
>      * Returns the frozen node of this version or <code>null</code> if this
>      * the root version.
> AFAIU, the frozen node of the root version is always present to capture the node type
of the versionable node.
> Does anybody recall how this got here? (SVN says it has been there forever)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message