Revision: 18573
http://sourceforge.net/p/gate/code/18573
Author: ian_roberts
Date: 2015-02-12 19:07:12 +0000 (Thu, 12 Feb 2015)
Log Message:
-----------
Init helper before trying to call getMode(), for delegating helpers like
measurements that create their delegate as part of init()
Modified Paths:
--------------
mimir/trunk/mimir-core/src/gate/mimir/index/AtomicAnnotationIndex.java
Modified: mimir/trunk/mimir-core/src/gate/mimir/index/AtomicAnnotationIndex.java
===================================================================
--- mimir/trunk/mimir-core/src/gate/mimir/index/AtomicAnnotationIndex.java
2015-02-12 18:18:45 UTC (rev 18572)
+++ mimir/trunk/mimir-core/src/gate/mimir/index/AtomicAnnotationIndex.java
2015-02-12 19:07:12 UTC (rev 18573)
@@ -111,12 +111,12 @@
documentHelpers = new LinkedList<SemanticAnnotationHelper>();
for(int i = 0; i < siConfig.getAnnotationTypes().length; i++){
SemanticAnnotationHelper theHelper = siConfig.getHelpers()[i];
+ theHelper.init(this);
if(theHelper.getMode() == SemanticAnnotationHelper.Mode.DOCUMENT) {
documentHelpers.add(theHelper);
} else {
annotationHelpers.put(siConfig.getAnnotationTypes()[i], theHelper);
}
- theHelper.init(this);
}
offsetComparator = new OffsetComparator();
// start the indexing thread
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs