From 4deb14ccfbcf9dcdb365ebdf7eb77172d823cf4e 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: 5102fe9756b1f5470ca2b4f21dcf0f7d86bedeb2 --- .../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. */