removed unused function deleteExistingData

Former-commit-id: 824275af643b7b47cb7b029bd4d6ecd8b69a7d01
This commit is contained in:
Jeremy Long
2014-01-03 14:01:26 -05:00
parent 1895af9f39
commit 998f916cdc

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