mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-18 17:47:05 +01:00
removed unused function deleteExistingData
Former-commit-id: 5102fe9756b1f5470ca2b4f21dcf0f7d86bedeb2
This commit is contained in:
@@ -343,18 +343,6 @@ public class StandardUpdate {
|
|||||||
return updates;
|
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.
|
* Closes the CVE and CPE data stores.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user