don't clone the configuration passed to the ASpect.updated method
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1558966 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/integration/api/ServiceRaceTest.java b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/integration/api/ServiceRaceTest.java
index 65d2816..3306e57 100644
--- a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/integration/api/ServiceRaceTest.java
+++ b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/integration/api/ServiceRaceTest.java
@@ -344,7 +344,7 @@
volatile S m_next;
final String m_name;
final Ensure m_invoked, m_started, m_stopped, m_updated;
- volatile Map<String, String> m_conf;
+ volatile Dictionary<String, String> m_conf;
SAspect(Ensure started, Ensure stopped, Ensure updated, Ensure invoked, String name) {
m_started = started;
@@ -360,12 +360,7 @@
return;
}
debug("Aspect %s injected with configuration: %s", this, conf);
- Map<String, String> copy = new HashMap<String, String>();
- for (String key : Collections.list(conf.keys()))
- {
- copy.put(key, conf.get(key));
- }
- m_conf = copy;
+ m_conf = conf;
m_updated.step();
}