felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1622494 - /felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
Date Thu, 04 Sep 2014 15:10:41 GMT
Author: gnodet
Date: Thu Sep  4 15:10:40 2014
New Revision: 1622494

URL: http://svn.apache.org/r1622494
Log:
[FELIX-4635] Avoid a useless change in the bundle location and a persistence the configuration

Modified:
    felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java

Modified: felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
URL: http://svn.apache.org/viewvc/felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java?rev=1622494&r1=1622493&r2=1622494&view=diff
==============================================================================
--- felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
(original)
+++ felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
Thu Sep  4 15:10:40 2014
@@ -239,10 +239,6 @@ public class ConfigInstaller implements 
         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);



Mime
View raw message