restart a download . caller should call , false first , at which point we setstarted , and , true when it has actually started a race condition means we do n't setstarted at that point since it 's possible the success/failure callback might happen first . concode_field_sep MultiValueTable<FreenetURI,RequestStatus> downloadsByURI concode_elem_sep boolean logMINOR concode_elem_sep MultiValueTable<FreenetURI,RequestStatus> uploadsByFinalURI concode_elem_sep ArrayList<RequestStatus> downloads concode_elem_sep HashMap<String,RequestStatus> requestsByIdentifier concode_elem_sep ArrayList<RequestStatus> uploads concode_field_sep void addDownload concode_elem_sep void removeByIdentifier concode_elem_sep void updateExpectedDataLength concode_elem_sep void clear concode_elem_sep void updateCompressionStatus concode_elem_sep void finishedUpload concode_elem_sep void updateStatus concode_elem_sep void updateDetectedCompatModes concode_elem_sep void addUpload concode_elem_sep void addTo concode_elem_sep void finishedDownload concode_elem_sep void updateExpectedMIME concode_elem_sep void setPriority concode_elem_sep CacheFetchResult getShadowBucket concode_elem_sep void gotFinalURI
void function ( String arg0 , FreenetURI arg1 ) { DownloadRequestStatus loc0 = ( DownloadRequestStatus ) requestsByIdentifier . get ( arg0 ) ; if ( loc0 == null ) return ; loc0 . restart ( false ) ; if ( arg1 != null ) { downloadsByURI . remove ( loc0 . getURI ( ) ) ; loc0 . arg1 ( arg1 ) ; downloadsByURI . put ( arg1 , loc0 ) ; } }