From 998f916cdc86498ee0a3c1ab1ff55ba97b248b27 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Fri, 3 Jan 2014 14:01:26 -0500 Subject: [PATCH] removed unused function deleteExistingData Former-commit-id: 824275af643b7b47cb7b029bd4d6ecd8b69a7d01 --- .../dependencycheck/data/update/StandardUpdate.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/StandardUpdate.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/StandardUpdate.java index c99bc6351..fc84b9ede 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/StandardUpdate.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/StandardUpdate.java @@ -343,18 +343,6 @@ public class StandardUpdate { return updates; } - /** - * Deletes the existing data directories. - * - * @throws IOException thrown if the directory cannot be deleted - */ - protected void deleteExistingData() throws IOException { - File data = Settings.getDataFile(Settings.KEYS.CVE_DATA_DIRECTORY); - if (data.exists()) { - FileUtils.delete(data); - } - } - /** * Closes the CVE and CPE data stores. */