Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
6b93e124
Commit
6b93e124
authored
May 20, 2020
by
acq
Browse files
correct bug null ptr
parent
8ff9bf8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
6b93e124
4.0.10 DD/MM/YYYY
------
* Correct bug for null ptr in contruction of local setting directory
4.0.9 19/05/2020
-----
...
...
src/main/java/fr/ill/ics/util/ConfigManager.java
View file @
6b93e124
...
...
@@ -642,13 +642,15 @@ public class ConfigManager {
}
private
static
void
setLocalFilesDirectory
(
String
tmp
)
{
if
(
tmp
.
isEmpty
()
==
false
)
{
if
(!
new
File
(
tmp
).
exists
())
{
// Directory does not exist: create it
File
file
=
new
File
(
tmp
);
file
.
mkdir
();
if
(
tmp
!=
null
)
{
if
(
tmp
.
isEmpty
()
==
false
)
{
if
(!
new
File
(
tmp
).
exists
())
{
// Directory does not exist: create it
File
file
=
new
File
(
tmp
);
file
.
mkdir
();
}
localFilesDirectory
=
tmp
;
}
localFilesDirectory
=
tmp
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment