mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8252552: DecimalFormat javadoc contains HTML tags in example code
Reviewed-by: lancea, joehw
This commit is contained in:
parent
79d12507b3
commit
2914064cf4
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue