mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-18 07:14:09 +01:00
renamged getFile to getDataFle (settings class)
Former-commit-id: 26f07b57ffa3462c6c43ef920e7964961d24a592
This commit is contained in:
@@ -160,7 +160,7 @@ public abstract class AbstractUpdateTask implements UpdateTask {
|
|||||||
* @throws IOException thrown if the directory cannot be deleted
|
* @throws IOException thrown if the directory cannot be deleted
|
||||||
*/
|
*/
|
||||||
protected void deleteExistingData() throws IOException {
|
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()) {
|
if (data.exists()) {
|
||||||
FileUtils.delete(data);
|
FileUtils.delete(data);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ public class DatabaseUpdater implements CachedWebDataSource {
|
|||||||
* @throws IOException thrown if the directory cannot be deleted
|
* @throws IOException thrown if the directory cannot be deleted
|
||||||
*/
|
*/
|
||||||
protected void deleteExistingData() throws IOException {
|
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()) {
|
if (data.exists()) {
|
||||||
FileUtils.delete(data);
|
FileUtils.delete(data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user