removed references to CPE data directory as this has been moved to a RAMDisk directory

Former-commit-id: 678eab78293357e3e89566917e73f9b5d3313ab5
This commit is contained in:
Jeremy Long
2013-11-17 22:40:51 -05:00
parent 1f983d502e
commit b6e0fa9085
4 changed files with 4 additions and 17 deletions

View File

@@ -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);

View File

@@ -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);

View File

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