mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-19 07:44:23 +01:00
renamged getFile to getDataFle (settings class)
Former-commit-id: 940c970878ca7236892e30f74eab37f5eacae4e6
This commit is contained in:
@@ -178,7 +178,7 @@ public class BaseDB {
|
|||||||
* @throws IOException is thrown if an IOException occurs of course...
|
* @throws IOException is thrown if an IOException occurs of course...
|
||||||
*/
|
*/
|
||||||
public static File getDataDirectory() throws IOException {
|
public static File getDataDirectory() throws IOException {
|
||||||
final File path = Settings.getFile(Settings.KEYS.CVE_DATA_DIRECTORY);
|
final File path = Settings.getDataFile(Settings.KEYS.CVE_DATA_DIRECTORY);
|
||||||
if (!path.exists()) {
|
if (!path.exists()) {
|
||||||
if (!path.mkdirs()) {
|
if (!path.mkdirs()) {
|
||||||
throw new IOException("Unable to create NVD CVE Data directory");
|
throw new IOException("Unable to create NVD CVE Data directory");
|
||||||
|
|||||||
Reference in New Issue
Block a user