You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2015/10/12 11:58:05 UTC

[jira] [Updated] (JCRVLT-103) JcrPackageDefinitionImpl always accesses root node

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

angela updated JCRVLT-103:
--------------------------
    Attachment: JCRVLT-103_JcrPackageDefinitionImpl.patch

proposed patch

> JcrPackageDefinitionImpl always accesses root node
> --------------------------------------------------
>
>                 Key: JCRVLT-103
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-103
>             Project: Jackrabbit FileVault
>          Issue Type: Sub-task
>          Components: Misc, Packaging
>            Reporter: angela
>         Attachments: JCRVLT-103_JcrPackageDefinitionImpl.patch
>
>
> see JCRVLT-100 for details.
> in this case access to the root node seems uncalled for as the code just wants to retrieve the target node which can be easily done using {{Session.getNode(absPath)}} instead of computing the relative path first and accessing the target node from the root. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)