<i18n dev> RFR: 8252552: DecimalFormat javadoc contains HTML tags in example code

Naoto Sato naoto.sato at oracle.com
Mon Aug 31 16:22:20 UTC 2020


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


More information about the i18n-dev mailing list