7015827: Fix HTML validation issues in java.math package

Reviewed-by: mduigou
This commit is contained in:
Joe Darcy 2011-02-01 00:29:26 -08:00
parent 9b7612b045
commit 8e948a84fa
2 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1996, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -121,8 +121,8 @@ import static java.math.BigInteger.LONG_MASK;
* scale for each operation is listed in the table below. * scale for each operation is listed in the table below.
* *
* <table border> * <table border>
* <caption top><h3>Preferred Scales for Results of Arithmetic Operations * <caption><b>Preferred Scales for Results of Arithmetic Operations
* </h3></caption> * </b></caption>
* <tr><th>Operation</th><th>Preferred Scale of Result</th></tr> * <tr><th>Operation</th><th>Preferred Scale of Result</th></tr>
* <tr><td>Add</td><td>max(addend.scale(), augend.scale())</td> * <tr><td>Add</td><td>max(addend.scale(), augend.scale())</td>
* <tr><td>Subtract</td><td>max(minuend.scale(), subtrahend.scale())</td> * <tr><td>Subtract</td><td>max(minuend.scale(), subtrahend.scale())</td>
@ -661,25 +661,25 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
* <dd>{@code .} <i>FractionPart</i> * <dd>{@code .} <i>FractionPart</i>
* <dd><i>IntegerPart</i> * <dd><i>IntegerPart</i>
* <p> * <p>
* <dt><i>IntegerPart: * <dt><i>IntegerPart:</i>
* <dd>Digits</i> * <dd><i>Digits</i>
* <p> * <p>
* <dt><i>FractionPart: * <dt><i>FractionPart:</i>
* <dd>Digits</i> * <dd><i>Digits</i>
* <p> * <p>
* <dt><i>Exponent: * <dt><i>Exponent:</i>
* <dd>ExponentIndicator SignedInteger</i> * <dd><i>ExponentIndicator SignedInteger</i>
* <p> * <p>
* <dt><i>ExponentIndicator:</i> * <dt><i>ExponentIndicator:</i>
* <dd>{@code e} * <dd>{@code e}
* <dd>{@code E} * <dd>{@code E}
* <p> * <p>
* <dt><i>SignedInteger: * <dt><i>SignedInteger:</i>
* <dd>Sign<sub>opt</sub> Digits</i> * <dd><i>Sign<sub>opt</sub> Digits</i>
* <p> * <p>
* <dt><i>Digits: * <dt><i>Digits:</i>
* <dd>Digit * <dd><i>Digit</i>
* <dd>Digits Digit</i> * <dd><i>Digits Digit</i>
* <p> * <p>
* <dt><i>Digit:</i> * <dt><i>Digit:</i>
* <dd>any character for which {@link Character#isDigit} * <dd>any character for which {@link Character#isDigit}

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -53,7 +53,7 @@ package java.math;
* *
*<p> *<p>
*<table border> *<table border>
* <caption top><h3>Summary of Rounding Operations Under Different Rounding Modes</h3></caption> * <caption><b>Summary of Rounding Operations Under Different Rounding Modes</b></caption>
* <tr><th></th><th colspan=8>Result of rounding input to one digit with the given * <tr><th></th><th colspan=8>Result of rounding input to one digit with the given
* rounding mode</th> * rounding mode</th>
* <tr valign=top> * <tr valign=top>