]> source.dussan.org Git - archiva.git/commitdiff
don't assume we are being sent back the same config object
authorBrett Porter <brett@apache.org>
Mon, 12 Feb 2007 13:11:22 +0000 (13:11 +0000)
committerBrett Porter <brett@apache.org>
Mon, 12 Feb 2007 13:11:22 +0000 (13:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@506438 13f79535-47bb-0310-9956-ffa450edef68

archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java

index 36cbd5a8e8bc4c63b5308e928b3128d43b5d936a..960ab6a198bca3b5d38866e5e853acd590066bb2 100644 (file)
@@ -65,6 +65,8 @@ public class DefaultArchivaConfiguration
         Registry section = registry.getSection( KEY );
         new ConfigurationRegistryWriter().write( configuration, section );
         section.save();
+
+        this.configuration = configuration;
     }
 
     public void addChangeListener( RegistryListener listener )