rem: }; }; 
add: } } 
context: qx.Proto._check = function(){  // Debug output  this._debug();  // Check queues and stop timer if not needed anymore  if (this._active.length == 0 && this._queue.length == 0) {    this._timer.stop();  };  // Checking if enabled  if (!this.getEnabled()) {    return;  };  // Checking active queue fill  if (this._active.length >= this.getMaxConcurrentRequests() || this._queue.length == 0) {    return;  };  // Checking number of total requests  if (this.getMaxTotalRequests() != null && this._totalRequests >= this.getMaxTotalRequests()) {    return;  };  var vRequest = this._queue.shift();  var vTransport = new qx.io.remote.RemoteExchange(vRequest);  // Increment counter  this._totalRequests++;  // Add to active queue  this._active.push(vTransport);  // Debug output  this._debug();  // Establish event connection between qx.io.remote.RemoteExchange instance and qx.io.remote.RemoteRequest  vTransport.addEventListener(qx.constant.Event.SENDING, vRequest._onsending, vRequest);  vTransport.addEventListener(qx.constant.Event.RECEIVING, vRequest._onreceiving, vRequest);  vTransport.addEventListener(qx.constant.Event.COMPLETED, vRequest._oncompleted, vRequest);  vTransport.addEventListener(qx.constant.Event.ABORTED, vRequest._onaborted, vRequest);  vTransport.addEventListener(qx.constant.Event.TIMEOUT, vRequest._ontimeout, vRequest);  vTransport.addEventListener(qx.constant.Event.FAILED, vRequest._onfailed, vRequest);  // Establish event connection between qx.io.remote.RemoteExchange and me.  vTransport.addEventListener(qx.constant.Event.SENDING, this._onsending, this);  vTransport.addEventListener(qx.constant.Event.COMPLETED, this._oncompleted, this);  vTransport.addEventListener(qx.constant.Event.ABORTED, this._oncompleted, this);  vTransport.addEventListener(qx.constant.Event.TIMEOUT, this._oncompleted, this);  vTransport.addEventListener(qx.constant.Event.FAILED, this._oncompleted, this);  // Store send timestamp  vTransport._start = (new Date).valueOf();  // Send  vTransport.send();  // Retry  if (this._queue.length > 0) {    this._check();  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/RemoteRequestQueue.js/buggy/qooxdoo/source/script/qx/io/remote/RemoteRequestQueue.js