You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/12/31 14:31:14 UTC

[jira] [Commented] (LUCENE-6148) Accountable.getChildResources should return a Collection

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

Robert Muir commented on LUCENE-6148:
-------------------------------------

+1

> Accountable.getChildResources should return a Collection
> --------------------------------------------------------
>
>                 Key: LUCENE-6148
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6148
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-6148.patch
>
>
> Since the child resources must be a snapshot, their size has to be known anyway so returning a collection instead of an iterable would make consumption easier without introducing limitations.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org