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 "angela (JIRA)" <ji...@apache.org> on 2015/11/06 12:35:27 UTC
[jira] [Commented] (OAK-3593) improvements to plugins/tree
[ https://issues.apache.org/jira/browse/OAK-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14993536#comment-14993536 ]
angela commented on OAK-3593:
-----------------------------
moved checkForNull for API methods to {{MutableTree}} at rev. 1712942 (as discussed on the list).
> improvements to plugins/tree
> ----------------------------
>
> Key: OAK-3593
> URL: https://issues.apache.org/jira/browse/OAK-3593
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: commons, core
> Reporter: angela
> Assignee: angela
> Priority: Minor
> Fix For: 1.3.10
>
>
> proposed improvements:
> - introduce {{TreeFactory.createReadOnlyTree(Tree readOnlyParent, String childName, NodeState childState)}} in order to reduce dependencies to internal {{ImmutableTree}}
> - introduce {{TreeLocation.getName()}}
> - introduce constants for path and name of the root tree
> furthermore in the implementations:
> - use root-node related constants in {{ImmutableTree}}
> - simplify {{ImmutableTree.isRoot}}
> - remove redundant checks for null when param is marked nonnull
> - add missing param annotations
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)