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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2014/08/13 15:02:11 UTC
[jira] [Commented] (OAK-2031) MemoryNodeBuilder#set only works on
root builders
[ https://issues.apache.org/jira/browse/OAK-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095442#comment-14095442 ]
Michael Dürig commented on OAK-2031:
------------------------------------
A way to fix the implementation might be to use {{MemoryNodeBuilder#setChildNode(String, NodeState)}} on the parent for non root builders.
> MemoryNodeBuilder#set only works on root builders
> -------------------------------------------------
>
> Key: OAK-2031
> URL: https://issues.apache.org/jira/browse/OAK-2031
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Michael Dürig
> Assignee: Michael Dürig
>
> {{MemoryNodeBuilder#set}} throws an {{ISE}} if called on non root builders. We should either make this clear from the contract or generalise the implementation to adhere to the current contract.
--
This message was sent by Atlassian JIRA
(v6.2#6252)