[ 
https://issues.apache.org/jira/browse/JCR-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16316452#comment-16316452
 ] 

Julian Reschke commented on JCR-4001:
-------------------------------------

I agree that this should be improved. The proposed patch essentially 
re-implements {{TraversingItemVisitor.Default}} (which is part javax.jcr).

It might be simpler though to change the property collectors not to use the 
visitor pattern at all.

> When using Node.getProperties(String namePattern) also child nodes are 
> processed
> --------------------------------------------------------------------------------
>
>                 Key: JCR-4001
>                 URL: https://issues.apache.org/jira/browse/JCR-4001
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>            Reporter: Luca Tagliani
>            Assignee: Julian Reschke
>         Attachments: JCR-4001.patch
>
>
> Call to Node.getProperties(String namePattern) processed also child nodes and 
> not only properties.
> This can deteriorate performance when there are lots of children.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to