]> source.dussan.org Git - archiva.git/commitdiff
no need to rebuild the collection if exists
authorOlivier Lamy <olamy@apache.org>
Mon, 18 Feb 2013 20:30:27 +0000 (20:30 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 18 Feb 2013 20:30:27 +0000 (20:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447475 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/RedbackRuntimeConfiguration.java

index 99c8b893bebe3a0ed3afe794138f81becfe86c6b..cf9224697f3c995af4fdb5fd30295d836ebe9c5b 100644 (file)
@@ -118,6 +118,10 @@ public class RedbackRuntimeConfiguration
 
     public List<PropertyEntry> getConfigurationPropertiesEntries()
     {
+        if ( configurationPropertiesEntries != null )
+        {
+            return configurationPropertiesEntries;
+        }
         configurationPropertiesEntries = new ArrayList<PropertyEntry>( getConfigurationProperties().size() );
         for ( Map.Entry<String, String> entry : getConfigurationProperties().entrySet() )
         {