batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-33) BufferedItemReader#readAllItems() should return Iterable<R>
Date Mon, 28 Apr 2014 17:52:23 GMT

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

Romain Manni-Bucau commented on BATCHEE-33:
-------------------------------------------

well Iterator as returned type is mandatory where Iterable is just a nice to have so rename
this task as BufferedItemReader*s* and we'll provide both

> BufferedItemReader#readAllItems() should return Iterable<R>
> -----------------------------------------------------------
>
>                 Key: BATCHEE-33
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-33
>             Project: BatchEE
>          Issue Type: Improvement
>          Components: batchee-extensions
>    Affects Versions: 0.1-incubating
>            Reporter: Reinhard Sandtner
>            Assignee: Mark Struberg
>            Priority: Minor
>             Fix For: 0.2-incubating
>
>         Attachments: batchee33.patch
>
>
> make 
> {code}
> public abstract Iterator<R> readAllItems();
> {code}
> return Iterable<R> would be easier to use it.
> The method should also be protected.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message