You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2017/04/11 19:43:41 UTC

[jira] [Created] (LUCENE-7779) OfflineSorter should not call ByteSequencesReader.next again after it returns null

Michael McCandless created LUCENE-7779:
------------------------------------------

             Summary: OfflineSorter should not call ByteSequencesReader.next again after it returns null
                 Key: LUCENE-7779
                 URL: https://issues.apache.org/jira/browse/LUCENE-7779
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Michael McCandless
            Assignee: Michael McCandless
             Fix For: master (7.0), 6.6


{{OfflineSorter}} uses a simple iterator class, {{ByteSequencesReader}}, to step through all {{byte[]}} that need sorting.

When its {{next}} method returns null the iteration is done.

But {{OfflineSorter}} then calls next again after that null return ...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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