mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
fix bug in configuration system
This commit is contained in:
@@ -171,21 +171,21 @@ public class App
|
||||
if (config == null)
|
||||
{
|
||||
config = ScmClientConfig.getInstance().getDefaultConfig();
|
||||
}
|
||||
|
||||
if (Util.isNotEmpty(serverUrl))
|
||||
{
|
||||
config.setServerUrl(serverUrl);
|
||||
}
|
||||
if (Util.isNotEmpty(serverUrl))
|
||||
{
|
||||
config.setServerUrl(serverUrl);
|
||||
}
|
||||
|
||||
if (Util.isNotEmpty(username))
|
||||
{
|
||||
config.setUsername(username);
|
||||
}
|
||||
if (Util.isNotEmpty(username))
|
||||
{
|
||||
config.setUsername(username);
|
||||
}
|
||||
|
||||
if (Util.isNotEmpty(password))
|
||||
{
|
||||
config.setPassword(password);
|
||||
}
|
||||
if (Util.isNotEmpty(password))
|
||||
{
|
||||
config.setPassword(password);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user