Revision: 14575
http://gate.svn.sourceforge.net/gate/?rev=14575&view=rev
Author: valyt
Date: 2011-11-18 15:51:49 +0000 (Fri, 18 Nov 2011)
Log Message:
-----------
Making the compiler happy.
Modified Paths:
--------------
mimir/trunk/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java
Modified:
mimir/trunk/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java
===================================================================
--- mimir/trunk/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java
2011-11-18 15:42:20 UTC (rev 14574)
+++ mimir/trunk/mimir-core/src/gate/mimir/search/RankingQueryRunnerImpl.java
2011-11-18 15:51:49 UTC (rev 14575)
@@ -450,7 +450,7 @@
* @param interval the interval specified by 2 document ranks
* @return the future that has been queued for collecting the hits.
*/
- protected Future collectHits(int[] interval) {
+ protected Future<?> collectHits(int[] interval) {
// expand the interval to block size
if(interval[1] - interval[0] < docBlockSize) {
interval[0] -= docBlockSize / 2;
@@ -473,7 +473,7 @@
int start = Math.max(previousInterval[1], interval[0]);
int end = Math.min(followingInterval[0], interval[1]);
hitsCollector = new HitsCollector(start, end);
- future = new FutureTask(hitsCollector, null);
+ future = new FutureTask<Object>(hitsCollector, null);
hitCollectors.put(new int[]{start, end}, future);
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs