renamged getFile to getDataFle (settings class)

Former-commit-id: 26f07b57ffa3462c6c43ef920e7964961d24a592
This commit is contained in:
Jeremy Long
2013-11-28 06:22:02 -05:00
parent 0440a4aa7e
commit f34a3e421d
2 changed files with 2 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ public abstract class AbstractUpdateTask implements UpdateTask {
* @throws IOException thrown if the directory cannot be deleted
*/
protected void deleteExistingData() throws IOException {
File data = Settings.getFile(Settings.KEYS.CVE_DATA_DIRECTORY);
File data = Settings.getDataFile(Settings.KEYS.CVE_DATA_DIRECTORY);
if (data.exists()) {
FileUtils.delete(data);
}

View File

@@ -75,7 +75,7 @@ public class DatabaseUpdater implements CachedWebDataSource {
* @throws IOException thrown if the directory cannot be deleted
*/
protected void deleteExistingData() throws IOException {
File data = Settings.getFile(Settings.KEYS.CVE_DATA_DIRECTORY);
File data = Settings.getDataFile(Settings.KEYS.CVE_DATA_DIRECTORY);
if (data.exists()) {
FileUtils.delete(data);
}