> @@ -701,14 +702,11 @@ public void downloadBlob(String container, String name,
> File destination, Execut
> Futures.getUnchecked(Futures.allAsList(results));
>
> } catch (IOException e) {
> - // cleanup, attempt to delete large file
> - if (raf != null) {
> - try {
> - raf.close();
> - } catch (IOException e1) {}
> - }
> + Closeables2.closeQuietly(raf);
That won't work, it's trying to delete the file for cleanup; it can't do that
if it' open. Which kinda sucks.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1007/files/0003721c3e983e3f3c08824d86cbc7e5098f4eb4#r77900714