Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

remove unused variable timeout

reger8b1ce49ee667
diff --git a/source/net/yacy/search/query/QueryParams.java b/source/net/yacy/search/query/QueryParams.java
index f181215f5..05297ad05 100644
--- a/source/net/yacy/search/query/QueryParams.java
+++ b/source/net/yacy/search/query/QueryParams.java
@@ -125,7 +125,6 @@ public final class QueryParams {
public Seed remotepeer;
public final long starttime; // the time when the query started, how long it should take and the time when the timeout is reached (milliseconds)
protected final long maxtime;
- private final long timeout;
// values that are set after a search:
public int transmitcount; // number of results that had been shown to the user
public long searchtime, urlretrievaltime, snippetcomputationtime; // time to perform the search, to get all the urls, and to compute the snippets
@@ -213,7 +212,6 @@ public final class QueryParams {
this.remotepeer = null;
this.starttime = Long.valueOf(System.currentTimeMillis());
this.maxtime = 10000;
- this.timeout = this.starttime + this.timeout;
this.indexSegment = indexSegment;
this.userAgent = userAgent;
this.transmitcount = 0;