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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/01/04 10:57:39 UTC

[jira] [Updated] (OAK-3830) Provide size for properties for PropertyItearator returned in Node#getProperties(namePattern)

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

Chetan Mehrotra updated OAK-3830:
---------------------------------
    Attachment: OAK-3830.patch

[patch|^OAK-3830.patch] for the same. Due to use of iterators change is bit bigger as iterators cannot be reused

[~tmueller] Can you review the patch once

> Provide size for properties for PropertyItearator returned in Node#getProperties(namePattern)
> ---------------------------------------------------------------------------------------------
>
>                 Key: OAK-3830
>                 URL: https://issues.apache.org/jira/browse/OAK-3830
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: jcr
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: OAK-3830.patch
>
>
> Oak currently provides the size of {{PropertyIterator}} for {{Node#getProperties()}} however for {{Node#getProperties(namePattern)}} -1 is returned.
> We should also expose the size for namePattern variant



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