code: @SuppressWarnings("ResultOfMethodCallIgnored") private void updateSuccess(
        DownloadRequest request) {
      updateState(request, DownloadState.SUCCESSFUL);
  
      /* notify the request download finish */
      request.finish();
  
      File file = new File(request.tempFilePath());
      if (file.exists()) {
        file.renameTo(new File(request.destinationFilePath()));
      }
  
      /* deliver success message */
      delivery.postSuccess(request);
    }
docs: /* update download success