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

angela updated JCR-664:
-----------------------

    Component/s: jackrabbit-core

> Property.setValue(Node) explicitly checks for NodeImpl
> ------------------------------------------------------
>
>                 Key: JCR-664
>                 URL: https://issues.apache.org/jira/browse/JCR-664
>             Project: Jackrabbit
>          Issue Type: Wish
>          Components: jackrabbit-core
>         Environment: that's neither a bug nor is it a major issue 
>            Reporter: Tobias Bocanegra
>            Priority: Minor
>
> The implementation of Propert.setValue(Node) explicitly checks if the 
> argument is a NodeImpl:
> if (target instanceof NodeImpl) {
>    [...]
> } else {
>    String msg = "incompatible Node object: " + target;
>    log.debug(msg);
>    throw new RepositoryException(msg);
> }
> This is not very convenient for applications that decorate the jcr objects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to