You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by gn...@apache.org on 2017/09/14 06:13:44 UTC
svn commit: r1808310 -
/felix/trunk/utils/src/main/java/org/apache/felix/utils/properties/TypedProperties.java
Author: gnodet
Date: Thu Sep 14 06:13:44 2017
New Revision: 1808310
URL: http://svn.apache.org/viewvc?rev=1808310&view=rev
Log:
[FELIX-5692] TypedProperties is missing a method to add a raw value
Modified:
felix/trunk/utils/src/main/java/org/apache/felix/utils/properties/TypedProperties.java
Modified: felix/trunk/utils/src/main/java/org/apache/felix/utils/properties/TypedProperties.java
URL: http://svn.apache.org/viewvc/felix/trunk/utils/src/main/java/org/apache/felix/utils/properties/TypedProperties.java?rev=1808310&r1=1808309&r2=1808310&view=diff
==============================================================================
--- felix/trunk/utils/src/main/java/org/apache/felix/utils/properties/TypedProperties.java (original)
+++ felix/trunk/utils/src/main/java/org/apache/felix/utils/properties/TypedProperties.java Thu Sep 14 06:13:44 2017
@@ -193,7 +193,7 @@ public class TypedProperties extends Abs
return put(key, Collections.singletonList(comment), value);
}
- private Object put(String key, List<String> commentLines, List<String> valueLines) {
+ public Object put(String key, List<String> commentLines, List<String> valueLines) {
String old = storage.put(key, commentLines, valueLines);
return old != null ? storage.typed ? convertFromString(old) : old : null;
}