7043234: (fmt) java.util.Formatter links in javadoc to BigDecimal need to be fixed
Summary: fixed the doc miss
Reviewed-by: alanb, emcmanus
--- a/jdk/src/share/classes/java/util/Formatter.java Wed May 11 15:00:16 2011 +0100
+++ b/jdk/src/share/classes/java/util/Formatter.java Wed May 11 08:54:16 2011 -0700
@@ -826,7 +826,7 @@
*
* <li> <a href="#dndec"><b>Float and Double</b></a>
*
- * <li> <a href="#dndec"><b>BigDecimal</b></a>
+ * <li> <a href="#dnbdec"><b>BigDecimal</b></a>
*
* </ol>
*
@@ -1362,7 +1362,7 @@
* precision is not provided, then all of the digits as returned by {@link
* Double#toHexString(double)} will be output.
*
- * <p><a name="dndec"><b> BigDecimal </b></a>
+ * <p><a name="dnbdec"><b> BigDecimal </b></a>
*
* <p> The following conversions may be applied {@link java.math.BigDecimal
* BigDecimal}.
@@ -1372,7 +1372,7 @@
* <tr><td valign="top"> {@code 'e'}
* <td valign="top"> <tt>'\u0065'</tt>
* <td> Requires the output to be formatted using <a
- * name="scientific">computerized scientific notation</a>. The <a
+ * name="bscientific">computerized scientific notation</a>. The <a
* href="#l10n algorithm">localization algorithm</a> is applied.
*
* <p> The formatting of the magnitude <i>m</i> depends upon its value.
@@ -1427,11 +1427,11 @@
*
* <p> If <i>m</i> is greater than or equal to 10<sup>-4</sup> but less
* than 10<sup>precision</sup> then it is represented in <i><a
- * href="#decimal">decimal format</a></i>.
+ * href="#bdecimal">decimal format</a></i>.
*
* <p> If <i>m</i> is less than 10<sup>-4</sup> or greater than or equal to
* 10<sup>precision</sup>, then it is represented in <i><a
- * href="#scientific">computerized scientific notation</a></i>.
+ * href="#bscientific">computerized scientific notation</a></i>.
*
* <p> The total number of significant digits in <i>m</i> is equal to the
* precision. If the precision is not specified, then the default value is
@@ -1447,7 +1447,7 @@
*
* <tr><td valign="top"> {@code 'f'}
* <td valign="top"> <tt>'\u0066'</tt>
- * <td> Requires the output to be formatted using <a name="decimal">decimal
+ * <td> Requires the output to be formatted using <a name="bdecimal">decimal
* format</a>. The <a href="#l10n algorithm">localization algorithm</a> is
* applied.
*