karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: KARAF-3100 - Fix property key in feature config installer
Date Wed, 06 Jan 2016 14:59:17 GMT
Repository: karaf
Updated Branches:
  refs/heads/master e97de8675 -> 84fdb7efc


KARAF-3100 - Fix property key in feature config installer


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/84fdb7ef
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/84fdb7ef
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/84fdb7ef

Branch: refs/heads/master
Commit: 84fdb7efcf3c1a71de8eb321a3abcac214d6653d
Parents: e97de86
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Wed Jan 6 15:58:58 2016 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Wed Jan 6 15:58:58 2016 +0100

----------------------------------------------------------------------
 .../karaf/features/internal/service/FeatureConfigInstaller.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/84fdb7ef/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
----------------------------------------------------------------------
diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
b/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
index 38ce81b..7e588f0 100644
--- a/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
+++ b/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
@@ -113,7 +113,7 @@ public class FeatureConfigInstaller {
 				Dictionary<String,Object> properties = cfg.getProperties();
                 for (String key : props.stringPropertyNames()) {
                     if (properties.get(key) == null) {
-                        properties.put(pid[0], props.getProperty(key));
+                        properties.put(key, props.getProperty(key));
                         update = true;
                     }
                 }


Mime
View raw message