[ https://issues.apache.org/jira/browse/UIMA-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Burn Lewis updated UIMA-911: ---------------------------- Attachment: UIMA-911.patch Here's a patch that makes the NewlineSegmenter check for this and so makes the AnalysisEngine_implTest testProcessAndOutputNewCASes fail > CasMultiplier's hasNext() called twice without an intervening next() > -------------------------------------------------------------------- > > Key: UIMA-911 > URL: https://issues.apache.org/jira/browse/UIMA-911 > Project: UIMA > Issue Type: Bug > Components: Core Java Framework > Reporter: Burn Lewis > Priority: Minor > Attachments: UIMA-911.patch > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.