You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/09/05 16:46:49 UTC

svn commit: r1165304 - /incubator/opennlp/sandbox/caseditor-opennlp-plugin/src/main/java/org/apache/opennlp/caseditor/namefinder/ConfirmAnnotationAction.java

Author: joern
Date: Mon Sep  5 14:46:49 2011
New Revision: 1165304

URL: http://svn.apache.org/viewvc?rev=1165304&view=rev
Log:
OPENNLP-235 Removed call to add FS to CAS, because that is already done by the ICasDocument

Modified:
    incubator/opennlp/sandbox/caseditor-opennlp-plugin/src/main/java/org/apache/opennlp/caseditor/namefinder/ConfirmAnnotationAction.java

Modified: incubator/opennlp/sandbox/caseditor-opennlp-plugin/src/main/java/org/apache/opennlp/caseditor/namefinder/ConfirmAnnotationAction.java
URL: http://svn.apache.org/viewvc/incubator/opennlp/sandbox/caseditor-opennlp-plugin/src/main/java/org/apache/opennlp/caseditor/namefinder/ConfirmAnnotationAction.java?rev=1165304&r1=1165303&r2=1165304&view=diff
==============================================================================
--- incubator/opennlp/sandbox/caseditor-opennlp-plugin/src/main/java/org/apache/opennlp/caseditor/namefinder/ConfirmAnnotationAction.java (original)
+++ incubator/opennlp/sandbox/caseditor-opennlp-plugin/src/main/java/org/apache/opennlp/caseditor/namefinder/ConfirmAnnotationAction.java Mon Sep  5 14:46:49 2011
@@ -73,7 +73,7 @@ public class ConfirmAnnotationAction ext
         FeatureStructure nameAnnotation = document.getCAS().createAnnotation(
             document.getCAS().getTypeSystem().getType(entityTypeName),
             selectedEntity.getBeginIndex(), selectedEntity.getEndIndex());
-        document.getCAS().addFsToIndexes(nameAnnotation);
+//        document.getCAS().addFsToIndexes(nameAnnotation);
         document.addFeatureStructure(nameAnnotation);
       }
     }