Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-835

Various bugs in SequenceStreamEventStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • None

    Description

      The class SequenceStreamEventStream has a few bugs.
      (1) It truncates the stream early if any sequence is empty.
      (2) After reset, it will emit the remaining elements from the underlying sequence that was being iterated over before the reset, and then start over from the beginning.
      (3) It leaks memory by not discarding references to objects it doesn't need anymore.

      Attachments

        Activity

          People

            joern Jörn Kottmann
            steventaschuk Steven Taschuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: