From 458f9a7a63c72f03b2a8c99bfbbae16c7c954d4d Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 4 Aug 2013 10:48:10 -0400 Subject: [PATCH] updated fetchFile test to remove un-needed argument Former-commit-id: 2776f1efb6252c128fa102bc8ecc284f12cb606d --- .../dependencycheck/utils/DownloaderIntegrationTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dependency-check-core/src/test/java/org/owasp/dependencycheck/utils/DownloaderIntegrationTest.java b/dependency-check-core/src/test/java/org/owasp/dependencycheck/utils/DownloaderIntegrationTest.java index ae58686d7..55bd4abe5 100644 --- a/dependency-check-core/src/test/java/org/owasp/dependencycheck/utils/DownloaderIntegrationTest.java +++ b/dependency-check-core/src/test/java/org/owasp/dependencycheck/utils/DownloaderIntegrationTest.java @@ -18,6 +18,7 @@ */ package org.owasp.dependencycheck.utils; +import java.io.File; import org.owasp.dependencycheck.utils.Settings; import org.owasp.dependencycheck.utils.Downloader; import java.net.URL; @@ -70,8 +71,8 @@ public class DownloaderIntegrationTest { // Downloader.fetchFile(url, outputPath, true); URL url = new URL(Settings.getString(Settings.KEYS.CVE_MODIFIED_20_URL)); - String outputPath = "target/downloaded_cve.xml"; - Downloader.fetchFile(url, outputPath, false); + File outputPath = new File("target/downloaded_cve.xml"); + Downloader.fetchFile(url, outputPath); }