You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2007/02/02 04:37:58 UTC
svn commit: r502468 - in
/incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides:
tug.cas_multiplier.xml tug.cpe.xml
Author: schor
Date: Thu Feb 1 19:37:58 2007
New Revision: 502468
URL: http://svn.apache.org/viewvc?view=rev&rev=502468
Log:
No Jira - change
aJCas.getJFSIndexRepository().getAnnotationIndex(...) to
aJCas. getAnnotationIndex(...)
to simplify things.
Modified:
incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cas_multiplier.xml
incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cpe.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=502468&r1=502467&r2=502468
==============================================================================
--- 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 Thu Feb 1 19:37:58 2007
@@ -205,8 +205,8 @@
mPos = 0;
// retreive the filename of the input file from the CAS so that it can
// be added to each segment
- FSIterator it = aJCas.getJFSIndexRepository()
- .getAnnotationIndex(SourceDocumentInformation.type).iterator();
+ FSIterator it = aJCas.
+ getAnnotationIndex(SourceDocumentInformation.type).iterator();
if (it.hasNext()) {
SourceDocumentInformation fileLoc =
(SourceDocumentInformation)it.next();
@@ -762,7 +762,7 @@
<programlisting>// get the SourceDocumentInformation FS,
// which indicates the sourceURI of the document
// and whether the incoming CAS is the last segment
-FSIterator it = aJCas.getJFSIndexRepository()
+FSIterator it = aJCas
.getAnnotationIndex(SourceDocumentInformation.type).iterator();
if (!it.hasNext()) {
throw new RuntimeException("Missing SourceDocumentInformation");
Modified: incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cpe.xml
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cpe.xml?view=diff&rev=502468&r1=502467&r2=502468
==============================================================================
--- incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cpe.xml (original)
+++ incubator/uima/uimaj/trunk/uima-docbooks/src/docbook/tutorials_and_users_guides/tug.cpe.xml Thu Feb 1 19:37:58 2007
@@ -900,7 +900,7 @@
}
// retreive the filename of the input file from the CAS
- FSIterator it = jcas.getJFSIndexRepository()
+ FSIterator it = jcas
.getAnnotationIndex(SourceDocumentInformation.type)
.iterator();
File outFile = null;