Looks fine to me. -Adam
On 7/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: schor Date: Wed Jul 18 06:53:51 2007 New Revision: 557261 URL: http://svn.apache.org/viewvc?view=rev&rev=557261 Log: No Jira - tutorial example of CasCopier constructor had incorrect number of arguments. Adam - please check this example if you get a chance. Modified: incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cas_multiplier.xml Modified: incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cas_multiplier.xml URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cas_multiplier.xml?view=diff&rev=557261&r1=557260&r2=557261 ============================================================================== --- incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cas_multiplier.xml (original) +++ incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cas_multiplier.xml Wed Jul 18 06:53:51 2007 @@ -712,7 +712,9 @@ mDocBuf.append(docText); // copy specified annotation types - CasCopier copier = new CasCopier(mMergedCas.getCas()); + // CasCopier takes two args: the CAS to copy from. + // the CAS to copy into. + CasCopier copier = new CasCopier(aJCas.getCas(), mMergedCas.getCas()); // needed in case one annotation is in two indexes (could // happen if specified annotation types overlap)
