Hello,
Please review this simple javadoc fix to:
https://bugs.openjdk.java.net/browse/JDK-8252552
The proposed diff is inserted here:
---
--- old/src/java.base/share/classes/java/text/DecimalFormat.java
2020-08-31 09:07:22.000000000 -0700
+++ new/src/java.base/share/classes/java/text/DecimalFormat.java
2020-08-31 09:07:22.000000000 -0700
@@ -338,9 +338,9 @@
*
* <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;
---
It is simply to take those <strong> HTML tags out of {@code} snippet.
Naoto