Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-911

CasMultiplier's hasNext() called twice without an intervening next()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.2
    • Core Java Framework
    • None

    Description

      In org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl the hasNext method calls the AnalysisComponent's hasNext but then its next method calls the AnalysisComponent's hasNext again before calling next.

      Makes it difficult to split the processing between hasNext & next.

      Attachments

        1. UIMA-911-fix.patch
          2 kB
          Burn L. Lewis
        2. UIMA-911.patch
          2 kB
          Burn L. Lewis

        Activity

          People

            Unassigned Unassigned
            burn Burn L. Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: