Author: brett
Date: Mon Oct 22 06:39:52 2007
New Revision: 587088

URL: http://svn.apache.org/viewvc?rev=587088&view=rev
Log:
[MRM-546] correct clean up of registry after removal

Modified:
    
maven/archiva/trunk/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java

Modified: 
maven/archiva/trunk/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java
URL: 
http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java?rev=587088&r1=587087&r2=587088&view=diff
==============================================================================
--- 
maven/archiva/trunk/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java
 (original)
+++ 
maven/archiva/trunk/archiva-base/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java
 Mon Oct 22 06:39:52 2007
@@ -172,6 +172,8 @@
 
             // Prevent duplicate repositories from showing up.
             config.getRepositories().clear();
+
+            registry.removeSubset( KEY + ".repositories" );
         }
 
         // Normalize the order fields in the proxy connectors.


Reply via email to