From: Olivier Lamy Date: Mon, 18 Feb 2013 20:30:27 +0000 (+0000) Subject: no need to rebuild the collection if exists X-Git-Tag: archiva-1.4-M4~166 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=95f86b2fe2e4979ce531cfbd14fdff353c9e0fe1;p=archiva.git no need to rebuild the collection if exists git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447475 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/RedbackRuntimeConfiguration.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/RedbackRuntimeConfiguration.java index 99c8b893b..cf9224697 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/RedbackRuntimeConfiguration.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/RedbackRuntimeConfiguration.java @@ -118,6 +118,10 @@ public class RedbackRuntimeConfiguration public List getConfigurationPropertiesEntries() { + if ( configurationPropertiesEntries != null ) + { + return configurationPropertiesEntries; + } configurationPropertiesEntries = new ArrayList( getConfigurationProperties().size() ); for ( Map.Entry entry : getConfigurationProperties().entrySet() ) {