jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds/jclouds] Use temporary file for Swift test inputs (#1035)
Date Thu, 10 Nov 2016 02:35:41 GMT
andrewgaul commented on this pull request.



> @@ -679,7 +679,7 @@ public void downloadBlob(String container, String name, File destination,
Execut
 
       ListeningExecutorService listeningExecutor = MoreExecutors.listeningDecorator(executor);
       RandomAccessFile raf = null;
-      File tempFile = new File(destination.getName() + "." + UUID.randomUUID());
+      File tempFile = new File(destination + "." + UUID.randomUUID());

`destination` need not be absolute -- we want to make the temporary file *relative* to `destination`,
not whatever path the application launched from.

-- 
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/1035
Mime
View raw message