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
19eb075a
Commit
19eb075a
authored
Aug 14, 2020
by
helene ortiz
Browse files
Fix bug: Method to get instruments allowing PAL files used the computer
name instead of the instrument name.
parent
83f9c1dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
19eb075a
4.0.31 13/08/2020
------
* Get NomadServerEndpoint from ServerInstance instead of ConfigManager (the latter does not take account of main/remote client types)
* Fix bug: Method to get instruments allowing PAL files used the computer name instead of the instrument name.
4.0.29 27/07/2020
------
...
...
src/main/java/fr/ill/ics/util/ConfigManager.java
View file @
19eb075a
...
...
@@ -281,9 +281,9 @@ public class ConfigManager {
this
.
preferences
=
preferences
;
}
public
boolean
allowPALfile
(
String
instrumentName
)
{
public
boolean
allowPALfile
()
{
if
(
instrumentsAllowingPALFiles
!=
null
)
{
return
instrumentsAllowingPALFiles
.
contains
(
instrumentName
);
return
instrumentsAllowingPALFiles
.
contains
(
SessionManager
.
getInstance
(
CommandZoneWrapper
.
SERVER_ID
).
getInstrumentName
().
toLowerCase
()
);
}
return
false
;
}
...
...
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