mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8251542: Several small Javadoc errors in java.base
Fixing wrong exception type in throws clause and wrong return type description Reviewed-by: darcy, dfuchs, mullan, mchung, rriggs
This commit is contained in:
parent
eaeddeddb1
commit
d4626d89cc
8 changed files with 11 additions and 13 deletions
|
@ -5403,7 +5403,7 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
|||
*
|
||||
* @param n the numerator; must be negative
|
||||
* @param d the denominator; must not be unity
|
||||
* @return a two-element {@long} array with the remainder and quotient in
|
||||
* @return a two-element {@code long} array with the remainder and quotient in
|
||||
* the initial and final elements, respectively
|
||||
*/
|
||||
private static long[] divRemNegativeLong(long n, long d) {
|
||||
|
|
|
@ -145,7 +145,6 @@ class MutableBigInteger {
|
|||
* Makes this number an {@code n}-int number all of whose bits are ones.
|
||||
* Used by Burnikel-Ziegler division.
|
||||
* @param n number of ints in the {@code value} array
|
||||
* @return a number equal to {@code ((1<<(32*n)))-1}
|
||||
*/
|
||||
private void ones(int n) {
|
||||
if (n > value.length)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue