[
https://issues.apache.org/jira/browse/OAK-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
angela updated OAK-3593:
------------------------
Description:
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
was:
proposed improvements:
- introduce {{TreeFactory.createReadOnlyTree(Tree readOnlyParent, String
childName, NodeState childState)}}
- 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
> 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
>
> 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)