commit | 5b3cb23d99fdb082f87b091402c0de6b13110728 | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Thu Sep 04 15:10:40 2014 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Thu Sep 04 15:10:40 2014 +0000 |
tree | 70fbfc72b7c2323769cfd48f30270b69d8f4b316 | |
parent | ff06522dbb0beea192077c1b083e5806baef03c3 [diff] |
[FELIX-4635] Avoid a useless change in the bundle location and a persistence the configuration git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1622494 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java index f6684ae..762591a 100644 --- a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java +++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
@@ -239,10 +239,6 @@ if( !ht.equals( old ) ) { ht.put(DirectoryWatcher.FILENAME, toConfigKey(f)); - if (config.getBundleLocation() != null) - { - config.setBundleLocation(null); - } if (old == null) { Util.log(context, Logger.LOG_INFO, "Creating configuration from " + pid[0] + (pid[1] == null ? "" : "-" + pid[1]) + ".cfg", null);