mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-22 17:19:30 +01:00
removed references to CPE data directory as this has been moved to a RAMDisk directory
Former-commit-id: 678eab78293357e3e89566917e73f9b5d3313ab5
This commit is contained in:
@@ -164,10 +164,6 @@ public abstract class AbstractUpdateTask implements UpdateTask {
|
||||
if (data.exists()) {
|
||||
FileUtils.delete(data);
|
||||
}
|
||||
data = Settings.getFile(Settings.KEYS.CPE_DATA_DIRECTORY);
|
||||
if (data.exists()) {
|
||||
FileUtils.delete(data);
|
||||
}
|
||||
data = DataStoreMetaInfo.getPropertiesFile();
|
||||
if (data.exists()) {
|
||||
FileUtils.delete(data);
|
||||
|
||||
@@ -79,10 +79,6 @@ public class DatabaseUpdater implements CachedWebDataSource {
|
||||
if (data.exists()) {
|
||||
FileUtils.delete(data);
|
||||
}
|
||||
data = Settings.getFile(Settings.KEYS.CPE_DATA_DIRECTORY);
|
||||
if (data.exists()) {
|
||||
FileUtils.delete(data);
|
||||
}
|
||||
data = DataStoreMetaInfo.getPropertiesFile();
|
||||
if (data.exists()) {
|
||||
FileUtils.delete(data);
|
||||
|
||||
@@ -72,11 +72,6 @@ public final class Settings {
|
||||
* contains the contents of the data directory.
|
||||
*/
|
||||
public static final String BATCH_UPDATE_URL = "batch.update.url";
|
||||
/**
|
||||
* The properties key for the path where the CPE Lucene Index will be
|
||||
* stored.
|
||||
*/
|
||||
public static final String CPE_DATA_DIRECTORY = "data.cpe";
|
||||
/**
|
||||
* The properties key for the path where the CVE H2 database will be
|
||||
* stored.
|
||||
|
||||
Reference in New Issue
Block a user