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

Lance Andersen LANCE.ANDERSEN at ORACLE.COM
Mon Aug 31 17:14:44 UTC 2020


Hi Naoto,

Looks OK to me.  

Best
Lance

> On Aug 31, 2020, at 12:22 PM, Naoto Sato <naoto.sato at 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.Andersen at oracle.com






More information about the i18n-dev mailing list