Correct markup in javadoc for unbalanced braces (#679)
Use <code>{</code> instead of {@code {}, as the latter one is invalid. It works onn the current javadoc, as it is accompanied with the equally invalid closing statement {@code }}, which balances the used braces in the @code fragements and combines the first invalid statement with the last one.
This commit is contained in:
parent
b4456352bc
commit
0a4505fa97
|
@ -39,8 +39,8 @@ import org.apache.commons.lang3.Validate;
|
|||
* and the formats supported by {@code java.text.MessageFormat} can be overridden
|
||||
* at the format and/or format style level (see MessageFormat). A "format element"
|
||||
* embedded in the message pattern is specified (<b>()?</b> signifies optionality):<br>
|
||||
* {@code {}<i>argument-number</i><b>(</b>{@code ,}<i>format-name</i><b>
|
||||
* (</b>{@code ,}<i>format-style</i><b>)?)?</b>{@code }}
|
||||
* <code>{</code><i>argument-number</i><b>(</b>{@code ,}<i>format-name</i><b>
|
||||
* (</b>{@code ,}<i>format-style</i><b>)?)?</b><code>}</code>
|
||||
*
|
||||
* <p>
|
||||
* <i>format-name</i> and <i>format-style</i> values are trimmed of surrounding whitespace
|
||||
|
|
Loading…
Reference in New Issue