Commit 6b93e124 authored by acq's avatar acq
Browse files

correct bug null ptr

parent 8ff9bf8d
4.0.10 DD/MM/YYYY
------
* Correct bug for null ptr in contruction of local setting directory
4.0.9 19/05/2020
-----
......
......@@ -642,6 +642,7 @@ public class ConfigManager {
}
private static void setLocalFilesDirectory(String tmp) {
if (tmp != null) {
if (tmp.isEmpty() == false) {
if (!new File(tmp).exists()) {
// Directory does not exist: create it
......@@ -651,4 +652,5 @@ public class ConfigManager {
localFilesDirectory = tmp;
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment