removed unused function deleteExistingData

Former-commit-id: 5102fe9756b1f5470ca2b4f21dcf0f7d86bedeb2
This commit is contained in:
Jeremy Long
2014-01-03 14:01:26 -05:00
parent e04dba610b
commit 4deb14ccfb

View File

@@ -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.
*/