renamged getFile to getDataFle (settings class)

Former-commit-id: 792c7dd2297616b705b4d93a3ee03ff00b3078e2
This commit is contained in:
Jeremy Long
2013-11-28 06:20:52 -05:00
parent 0faa49d0e5
commit 0440a4aa7e

View File

@@ -178,7 +178,7 @@ public class BaseDB {
* @throws IOException is thrown if an IOException occurs of course...
*/
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.mkdirs()) {
throw new IOException("Unable to create NVD CVE Data directory");