From 8b1ce49ee667eb8a9aa8a415315a2d8f7a30a5bc Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 29 Sep 2014 02:24:29 +0200 Subject: [PATCH] remove unused variable timeout --- source/net/yacy/search/query/QueryParams.java | 2 -- 1 file changed, 2 deletions(-) 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;