Commit 2d88703d authored by Locatelli's avatar Locatelli

Remove all spaces characters in instrument name for remote

(ex , PF2 MAM -> PF2MAM)
parent 7df3b874
4.0.51 27/07/2020
------
* Remove all spaces characters in instrument name for remote (ex , PF2 MAM -> PF2MAM)
4.0.50 24/07/2020
------
* Trim instrument name for remote (ex , PF2 MAM -> PF2MAM)
......
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadgui</artifactId>
<version>4.0.51-SNAPSHOT</version>
<version>4.0.52-SNAPSHOT</version>
<name>NomadGUI</name>
<description>Graphical user interface for Nomad</description>
<scm>
......
......@@ -82,7 +82,7 @@ public abstract class StartupSplashDialog {
protected final void onGo() {
if (allInformationFilled()) {
RemoteControlManager.getInstance().setAccessInformation(getUser(), getPassword(), instrumentName.trim(), instrumentCode);
RemoteControlManager.getInstance().setAccessInformation(getUser(), getPassword(), instrumentName.replaceAll("\\s+", ""), instrumentCode);
hideLoginStuff();
okButtonClicked = true;
} else {
......
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