Repository: flex-utilities
Updated Branches:
  refs/heads/develop 03bc7db7a -> 5accc3561


- Switched from "fast-download" to "safe-download" (Trying to avoid problems 
downloading on some machines)


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/5accc356
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/5accc356
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/5accc356

Branch: refs/heads/develop
Commit: 5accc3561bcf5df339f156337110da41677be0b8
Parents: 03bc7db
Author: Christofer Dutz <christofer.d...@codecentric.de>
Authored: Wed May 18 10:30:17 2016 +0200
Committer: Christofer Dutz <christofer.d...@codecentric.de>
Committed: Wed May 18 10:30:17 2016 +0200

----------------------------------------------------------------------
 .../utilities/converter/retrievers/download/DownloadRetriever.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/5accc356/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
----------------------------------------------------------------------
diff --git 
a/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
 
b/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
index 45682cb..82b3597 100644
--- 
a/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
+++ 
b/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
@@ -120,7 +120,7 @@ public class DownloadRetriever extends BaseRetriever {
                 final File targetFile = File.createTempFile(type.toString() + 
"-" + version +
                                 ((platformType != null) ? "-" + platformType : 
"") + "-",
                         
sourceUrl.getFile().substring(sourceUrl.getFile().lastIndexOf(".")));
-                performFastDownload(sourceUrl, targetFile);
+                performSafeDownload(sourceUrl.toURI(), targetFile);
 
                 
////////////////////////////////////////////////////////////////////////////////
                 // Do the extracting.

Reply via email to