From 95f86b2fe2e4979ce531cfbd14fdff353c9e0fe1 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 18 Feb 2013 20:30:27 +0000 Subject: [PATCH] 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 --- .../admin/model/beans/RedbackRuntimeConfiguration.java | 4 ++++ 1 file changed, 4 insertions(+) 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() ) { -- 2.39.5