Log.log(Log.DEBUG,this,"getNextRequest() returning " + request);  StringBuffer buf = new StringBuffer("request queue is now: "); Request _request = request.next; while(_request != null) { buf.append(_request.id); if(_request.next != null) buf.append(","); _request = _request.next; } Log.log(Log.DEBUG,this,buf.toString());
	private Request getNextRequest()	{		synchronized(lock)		{			Request request = firstRequest;			firstRequest = firstRequest.next;			if(firstRequest == null)				lastRequest = null;			if(request.alreadyRun)				throw new InternalError("AIEE!!! Request run twice!!! " + request.run);			request.alreadyRun = true;			return request;		}	}