felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1797167 - /felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/JSONUtil.java
Date Thu, 01 Jun 2017 09:10:30 GMT
Author: cziegeler
Date: Thu Jun  1 09:10:30 2017
New Revision: 1797167

URL: http://svn.apache.org/viewvc?rev=1797167&view=rev
Log:
Fix type conversion

Modified:
    felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/JSONUtil.java

Modified: felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/JSONUtil.java
URL: http://svn.apache.org/viewvc/felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/JSONUtil.java?rev=1797167&r1=1797166&r2=1797167&view=diff
==============================================================================
--- felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/JSONUtil.java
(original)
+++ felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/JSONUtil.java
Thu Jun  1 09:10:30 2017
@@ -259,7 +259,7 @@ public class JSONUtil {
                             if ( convertedVal == null ) {
                                 convertedVal = value.toString();
                             }
-                            properties.put(mapKey, convertedVal);
+                            properties.put(key, convertedVal);
                         } catch ( final IOException io ) {
                             report.errors.add("Invalid value/type for configuration in '"
+ identifier + "' : " + pid + " - " + mapKey + " : " + io.getMessage());
                             valid = false;



Mime
View raw message