diff options
author | Olivier Lamy <olamy@apache.org> | 2013-02-18 20:30:27 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-02-18 20:30:27 +0000 |
commit | 95f86b2fe2e4979ce531cfbd14fdff353c9e0fe1 (patch) | |
tree | c4b60ab2baf9afa4ead995609da99336b3ebeb92 /archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src | |
parent | 2c4b7c6c4c51fb5e1531bc3418a95846f7e0b09f (diff) | |
download | archiva-95f86b2fe2e4979ce531cfbd14fdff353c9e0fe1.tar.gz archiva-95f86b2fe2e4979ce531cfbd14fdff353c9e0fe1.zip |
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
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src')
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-api/src/main/java/org/apache/archiva/admin/model/beans/RedbackRuntimeConfiguration.java | 4 |
1 files changed, 4 insertions, 0 deletions
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<PropertyEntry> getConfigurationPropertiesEntries() { + if ( configurationPropertiesEntries != null ) + { + return configurationPropertiesEntries; + } configurationPropertiesEntries = new ArrayList<PropertyEntry>( getConfigurationProperties().size() ); for ( Map.Entry<String, String> entry : getConfigurationProperties().entrySet() ) { |