@ -363,8 +363,8 @@ public class RemoteEnvPane extends BasicBeanPane<RemoteDesignerWorkspaceInfo> {
@Override
@Override
public RemoteDesignerWorkspaceInfo updateBean ( ) {
public RemoteDesignerWorkspaceInfo updateBean ( ) {
String url = this . remoteWorkspaceURL . getURL ( ) ;
String url = removeSpaces ( this . remoteWorkspaceURL . getURL ( ) ) ;
String username = this . usernameInput . getText ( ) ;
String username = removeSpaces ( this . usernameInput . getText ( ) ) ;
String password = new String ( this . passwordInput . getPassword ( ) ) ;
String password = new String ( this . passwordInput . getPassword ( ) ) ;
boolean rememberPwd = this . rememberPwdCheckbox . isSelected ( ) ;
boolean rememberPwd = this . rememberPwdCheckbox . isSelected ( ) ;
DesignerEnvProcessor envProcessor = ExtraDesignClassManager . getInstance ( ) . getSingle ( DesignerEnvProcessor . XML_TAG ) ;
DesignerEnvProcessor envProcessor = ExtraDesignClassManager . getInstance ( ) . getSingle ( DesignerEnvProcessor . XML_TAG ) ;
@ -384,6 +384,13 @@ public class RemoteEnvPane extends BasicBeanPane<RemoteDesignerWorkspaceInfo> {
return info ;
return info ;
}
}
private String removeSpaces ( String str ) {
if ( StringUtils . isNotEmpty ( str ) ) {
return str . trim ( ) ;
}
return str ;
}
@Override
@Override
protected String title4PopupWindow ( ) {
protected String title4PopupWindow ( ) {
return "Remote" ;
return "Remote" ;