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 2013/01/10 17:38:15 UTC

[jira] [Updated] (OAK-549) PropertyLocation#remove not part of TreeLocation API

     [ https://issues.apache.org/jira/browse/OAK-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela updated OAK-549:
-----------------------

    Attachment: OAK-549.patch
    
> PropertyLocation#remove not part of TreeLocation API
> ----------------------------------------------------
>
>                 Key: OAK-549
>                 URL: https://issues.apache.org/jira/browse/OAK-549
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: angela
>         Attachments: OAK-549.patch
>
>
> In order to remove a property without having to access the
> parent node can be achieved by PropertyLocation#remove(). however,
> this method is not part of the TreeLocation API and thus oak-jcr
> needs to cast the location associated with a given property to
> TreeImpl#PropertyLocation.
> I would suggest to expose that method in the TreeLocation interface
> as the implementation was straight forward for all implementations.
> Alternatively, if that's not acceptable i think we should split the
> TreeLocation interface into a property and a node variant and add the
> remove method the property-location only.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira