Author: bhavani
Date: Mon Jan 31 00:06:23 2011
New Revision: 1065433
URL: http://svn.apache.org/viewvc?rev=1065433&view=rev
Log:
UIMA-1941 create resultspec must always be called
Modified:
uima/uimacpp/trunk/src/framework/annotator_mgr.cpp
Modified: uima/uimacpp/trunk/src/framework/annotator_mgr.cpp
URL:
http://svn.apache.org/viewvc/uima/uimacpp/trunk/src/framework/annotator_mgr.cpp?rev=1065433&r1=1065432&r2=1065433&view=diff
==============================================================================
--- uima/uimacpp/trunk/src/framework/annotator_mgr.cpp (original)
+++ uima/uimacpp/trunk/src/framework/annotator_mgr.cpp Mon Jan 31 00:06:23 2011
@@ -487,11 +487,11 @@ namespace uima {
if (cas.isBackwardCompatibleCas()) {
tcas = &cas;
-
+ }
//this populates the tofsToBeRemoved vector so always call it
callEngine = shouldEngineBeCalled(*pCapContainer,
resSpec,
-
tcas->getDocumentAnnotation().getLanguage(),
+
cas.getDocumentAnnotation().getLanguage(),
tofsToBeRemoved);
//check the FlowConstraintType specified in the aggregate engine
//if CapabilityLanguageFlow whether engine is called is
@@ -506,7 +506,7 @@ namespace uima {
if (flowType == FlowConstraints::FIXED) {
callEngine=true;
}
- }
+
if ( callEngine ) {