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

Stephen Buergler commented on MINDEXER-121:
-------------------------------------------

I think the javadoc should be changed so that the consumer is required to close 
their ChunkReaders. It's not that hard to do. I kind of don't like that 
ChunkReaderIterator closes these things in the first place.

> ChunkReaderIterator leaks InputStreams
> --------------------------------------
>
>                 Key: MINDEXER-121
>                 URL: https://issues.apache.org/jira/browse/MINDEXER-121
>             Project: Maven Indexer
>          Issue Type: Bug
>            Reporter: Stephen Buergler
>            Priority: Minor
>
> ChunkReaderIterator closes ChunkReaders when you call next(). The last 
> ChunkReader never gets closed because next() doesn't get called after the 
> last element has been returned.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to