Skip to content

Commit a729a24

Browse files
committed
Fixed bad JavaDoc (unescaped >)
1 parent 36e49dd commit a729a24

File tree

1 file changed

+6
-8
lines changed
  • deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util

1 file changed

+6
-8
lines changed

deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/MapUtils.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,32 +57,30 @@ public static <V> Map<String, String> flattenMapProperties(final Map<String, V>
5757
/**
5858
* <p>Converts a {@link Map} of objects to a flattened {@link Map} of {@link String} values.</p>
5959
*
60-
* <p>
6160
* For example, with the given input:
6261
*
6362
* <pre><code>
64-
* Map&lt;String, Object> application = Map.of(
63+
* Map&lt;String, Object&gt; application = Map.of(
6564
* "name", "My App",
66-
* "prefixes", List.of(">", "$")
65+
* "prefixes", List.of("&gt;", "$")
6766
* );
6867
*
69-
* Map&lt;String, Object> map = Map.of("application", application);
68+
* Map&lt;String, Object&gt; map = Map.of("application", application);
7069
*
71-
* Map&lt;String, String> result = MapUtils.flattenMapProperties(map);</code></pre>
70+
* Map&lt;String, String&gt; result = MapUtils.flattenMapProperties(map);</code></pre>
7271
*
7372
* Will result in the following properties, assuming <code>indexed</code> is <code>false</code>:
7473
*
7574
* <pre><code>
7675
* application.name=My App
77-
* application.prefixes=>,$</code></pre>
76+
* application.prefixes=&gt;,$</code></pre>
7877
*
7978
* If <code>indexed</code> is <code>true</code>, the result would be:
8079
*
8180
* <pre><code>
8281
* application.name=My App
83-
* application.prefixes[0]=>
82+
* application.prefixes[0]=&gt;
8483
* application.prefixes[1]=$</code></pre>
85-
* </p>
8684
*
8785
* @param input A {@link Map} of properties that may contain nested {@link Map}s as values.
8886
* @param indexed If arrays should be converted to a multiple indexed properties, appended with [i], or a

0 commit comments

Comments
 (0)