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

Various bugs in SequenceStreamEventStream

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: 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

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

              Dates

              • Created:
                Updated:
                Resolved: