aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-configuration
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2007-02-12 13:11:22 +0000
committerBrett Porter <brett@apache.org>2007-02-12 13:11:22 +0000
commit3f2d59a45b3a57c0a58354363e514e890ff95f54 (patch)
tree7e6f227a824c8abdb7245af7e64ad3fab6171641 /archiva-configuration
parentffaaad74e19ef1b59e1a42f7f9c491c16c2adcb7 (diff)
downloadarchiva-3f2d59a45b3a57c0a58354363e514e890ff95f54.tar.gz
archiva-3f2d59a45b3a57c0a58354363e514e890ff95f54.zip
don't assume we are being sent back the same config object
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@506438 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-configuration')
-rw-r--r--archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java
index 36cbd5a8e..960ab6a19 100644
--- a/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java
+++ b/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultArchivaConfiguration.java
@@ -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 )