void finish(DownloadRequest request){
synchronized (currentRequests) {
    currentRequests.remove(request);
  }
}

void finish ( DownloadRequest request ) { synchronized ( currentRequests ) { currentRequests . remove ( request ) ; } }
the download has finished and remove from set .
