Revision: 14773
          http://gate.svn.sourceforge.net/gate/?rev=14773&view=rev
Author:   valyt
Date:     2011-12-15 15:17:21 +0000 (Thu, 15 Dec 2011)
Log Message:
-----------
Bugfix: forgot to initialise the internal variables (d'oh!).

Modified Paths:
--------------
    mimir/trunk/mimir-core/src/gate/mimir/search/FederatedQueryRunner.java

Modified: mimir/trunk/mimir-core/src/gate/mimir/search/FederatedQueryRunner.java
===================================================================
--- mimir/trunk/mimir-core/src/gate/mimir/search/FederatedQueryRunner.java      
2011-12-15 14:12:41 UTC (rev 14772)
+++ mimir/trunk/mimir-core/src/gate/mimir/search/FederatedQueryRunner.java      
2011-12-15 15:17:21 UTC (rev 14773)
@@ -17,6 +17,7 @@
 import gate.mimir.index.IndexException;
 import gate.mimir.search.query.Binding;
 
+import it.unimi.dsi.fastutil.ints.IntArrayList;
 import it.unimi.dsi.fastutil.ints.IntList;
 
 import java.io.IOException;
@@ -62,6 +63,8 @@
   public FederatedQueryRunner(QueryRunner[] subrunners) {
     this.subRunners = subrunners;
     this.nextSubRunnerRank = null;
+    this.rank2runnerIndex = new IntArrayList();
+    this.rank2subRank = new IntArrayList();
   }
 
   /* (non-Javadoc)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to