Author: pderop
Date: Tue Jan 22 16:02:39 2019
New Revision: 1851829

URL: http://svn.apache.org/viewvc?rev=1851829&view=rev
Log:
fixed doc regarding map syntax

Modified:
    
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext

Modified: 
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext
URL: 
http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext?rev=1851829&r1=1851828&r2=1851829&view=diff
==============================================================================
--- 
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext
 (original)
+++ 
felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/reference/dependency-configuration.mdtext
 Tue Jan 22 16:02:39 2019
@@ -37,11 +37,12 @@ Arrays can be represented either as comm
 
 Maps can be represented as single string values similarly as arrays, each 
value consisting of both the key and value separated by a dot. Optionally, the 
value can be enclosed in curly brackets. Similar to array, you can use the same 
dot notation using the keys. For example, a dictionary with:
 
-    "map" => "{key1.value1, key2.value2}"
+    map={key1.value1,key2.value2}
 
 and a dictionary with:
 
-    "map.key1" => "value1", "map2.key2" => "value2"
+    map.key1=value1 
+    map.key2=value2
 
 result in the *same* map being returned. Instead of a map, you could also 
define an interface with the methods `getKey1()` and `getKey2()` and use that 
interface as return type instead of a Map.
 


Reply via email to