jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-2031) MemoryNodeBuilder#set only works on root builders
Date Wed, 13 Aug 2014 13:02:11 GMT

    [ 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

View raw message