mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
renamged getFile to getDataFle (settings class)
Former-commit-id: 8b632f78685d0a66bc061bcefd46de4b56d45347
This commit is contained in:
@@ -49,7 +49,7 @@ public abstract class BaseDBTestCase extends TestCase {
|
||||
|
||||
public static void ensureDBExists() throws Exception {
|
||||
|
||||
java.io.File dataPath = Settings.getFile(Settings.KEYS.DATA_DIRECTORY);
|
||||
java.io.File dataPath = Settings.getDataFile(Settings.KEYS.DATA_DIRECTORY);
|
||||
if (!dataPath.exists() || (dataPath.isDirectory() && dataPath.listFiles().length < 3)) {
|
||||
dataPath.mkdirs();
|
||||
FileInputStream fis = null;
|
||||
|
||||
Reference in New Issue
Block a user