8252552: DecimalFormat javadoc contains HTML tags in example code

Reviewed-by: lancea, joehw
This commit is contained in:
Naoto Sato 2020-08-31 15:32:29 -07:00
parent 79d12507b3
commit 2914064cf4

View File

@ -338,9 +338,9 @@ import sun.util.locale.provider.ResourceBundleBasedAdapter;
*
* <h3>Example</h3>
*
* <blockquote><pre>{@code
* <strong>// Print out a number using the localized number, integer, currency,
* // and percent format for each locale</strong>
* <blockquote><pre><strong>{@code
* // Print out a number using the localized number, integer, currency,
* // and percent format for each locale}</strong>{@code
* Locale[] locales = NumberFormat.getAvailableLocales();
* double myNumber = -1234.56;
* NumberFormat form;