+1

Or, maybe <strong> is not needed for code comments

-Joe

On 8/31/20 10:14 AM, Lance Andersen wrote:
Hi Naoto,

Looks OK to me.

Best
Lance

On Aug 31, 2020, at 12:22 PM, Naoto Sato <naoto.s...@oracle.com> wrote:

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

Best
Lance
------------------




Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
lance.ander...@oracle.com





Reply via email to