mirror of https://github.com/apache/archiva.git
this call is with a default value
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1420244 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0d457b816e
commit
fe6408412a
|
@ -349,7 +349,7 @@ public class DefaultArchivaRuntimeConfigurationAdmin
|
||||||
return Boolean.valueOf( conf.getConfigurationProperties().get( key ) );
|
return Boolean.valueOf( conf.getConfigurationProperties().get( key ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean value = userConfiguration.getBoolean( key );
|
boolean value = userConfiguration.getBoolean( key, defaultValue );
|
||||||
|
|
||||||
conf.getConfigurationProperties().put( key, Boolean.toString( value ) );
|
conf.getConfigurationProperties().put( key, Boolean.toString( value ) );
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue