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
This commit is contained in:
Olivier Lamy 2013-02-18 20:30:27 +00:00
parent 2c4b7c6c4c
commit 95f86b2fe2
1 changed files with 4 additions and 0 deletions

View 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() )
{