- Removed a TODO that does not apply any more due to SOLR-539 commit

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@659668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2008-05-23 21:32:45 +00:00
parent cacf6ae295
commit 4b81a68252
1 changed files with 2 additions and 4 deletions

View File

@ -37,15 +37,13 @@ import java.net.URL;
public abstract class RequestHandlerBase implements SolrRequestHandler, SolrInfoMBean {
// statistics
// TODO: should we bother synchronizing these, or is an off-by-one error
// acceptable every million requests or so?
volatile long numRequests;
volatile long numErrors;
volatile long totalTime = 0;
protected NamedList initArgs = null;
protected SolrParams defaults;
protected SolrParams appends;
protected SolrParams invariants;
volatile long totalTime = 0;
long handlerStart = System.currentTimeMillis();
/** shorten the class references for utilities */
@ -108,7 +106,7 @@ public abstract class RequestHandlerBase implements SolrRequestHandler, SolrInfo
o = args.get("invariants");
if (o != null && o instanceof NamedList) {
invariants = SolrParams.toSolrParams((NamedList)o);
}
}
}
}