From fe6408412a84946260236d67b1907a54e2eb68b5 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 11 Dec 2012 16:08:04 +0000 Subject: [PATCH] this call is with a default value git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1420244 13f79535-47bb-0310-9956-ffa450edef68 --- .../runtime/DefaultArchivaRuntimeConfigurationAdmin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java index ddd504cec..4817c6b75 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultArchivaRuntimeConfigurationAdmin.java @@ -349,7 +349,7 @@ public class DefaultArchivaRuntimeConfigurationAdmin 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 ) ); try