[ https://issues.apache.org/jira/browse/LUCENE-10139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423788#comment-17423788 ]
ASF subversion and git services commented on LUCENE-10139: ---------------------------------------------------------- Commit 2e57a405463435570548475464140452ea0a6f83 in lucene's branch refs/heads/main from Dawid Weiss [ https://gitbox.apache.org/repos/asf?p=lucene.git;h=2e57a40 ] LUCENE-10139: ExternalRefSorter returns a covariant with a subtype of BytesRefIterator that is Closeable. (#340) > ExternalRefSorter should return a covariant with a subtype of > BytesRefIterator that is Closeable > ------------------------------------------------------------------------------------------------- > > Key: LUCENE-10139 > URL: https://issues.apache.org/jira/browse/LUCENE-10139 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Trivial > > This is a trivial cleanup to make ExternalRefSorter return a covariant > subtype of BytesRefIterator that is Closeable. This way callers of > iterator() have a way of making sure I/O resources are closed without fully > exhausting the iterator (in case of exceptions happening somewhere while > scanning the byte refs, for example). -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org