felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1815356 - /felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/TypeConverter.java
Date Wed, 15 Nov 2017 18:54:32 GMT
Author: cziegeler
Date: Wed Nov 15 18:54:31 2017
New Revision: 1815356

URL: http://svn.apache.org/viewvc?rev=1815356&view=rev
Log:
Remove todo statements

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

Modified: felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/TypeConverter.java
URL: http://svn.apache.org/viewvc/felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/TypeConverter.java?rev=1815356&r1=1815355&r2=1815356&view=diff
==============================================================================
--- felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/TypeConverter.java
(original)
+++ felix/trunk/osgi-r7/configurator/src/main/java/org/apache/felix/configurator/impl/json/TypeConverter.java
Wed Nov 15 18:54:31 2017
@@ -162,7 +162,6 @@ public class TypeConverter {
                     convertedValue =  getConverter().convert(list).defaultValue(null).to(Double[].class);
                 }
                 if ( convertedValue == null ) {
-                    // convert to String (TODO)
                     convertedValue = getConverter().convert(list).defaultValue(null).to(String[].class);
                 }
                 return convertedValue;
@@ -275,8 +274,6 @@ public class TypeConverter {
                     convertedValue = getConverter().convert(list).defaultValue(null).to(new
TypeReference<List<Double>>() {});
                 }
                 if ( convertedValue == null ) {
-
-                    // convert to String (TODO)
                     convertedValue = getConverter().convert(list).defaultValue(null).to(new
TypeReference<List<String>>() {});
                 }
                 return convertedValue;



Mime
View raw message