Skip to content

Commit 2b166d8

Browse files
committed
8260596: Comment cleanup in BigInteger
Reviewed-by: bpb
1 parent 1de3c55 commit 2b166d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/java.base/share/classes/java/math/BigInteger.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ private BigInteger(int signum, int[] magnitude) {
465465
* consists of an optional minus or plus sign followed by a
466466
* sequence of one or more digits in the specified radix. The
467467
* character-to-digit mapping is provided by {@link
468-
* Character#digit(char, char) Character.digit}. The String may
468+
* Character#digit(char, int) Character.digit}. The String may
469469
* not contain any extraneous characters (whitespace, for
470470
* example).
471471
*
@@ -662,7 +662,7 @@ private static void destructiveMulAdd(int[] x, int y, int z) {
662662
* into a BigInteger. The String representation consists of an
663663
* optional minus or plus sign followed by a sequence of one or
664664
* more decimal digits. The character-to-digit mapping is
665-
* provided by {@link Character#digit(char, char)
665+
* provided by {@link Character#digit(char, int)
666666
* Character.digit}. The String may not contain any extraneous
667667
* characters (whitespace, for example).
668668
*
@@ -3974,7 +3974,7 @@ public String toString(int radix) {
39743974
* If {@code numZeros > 0}, appends that many zeros to the
39753975
* specified StringBuilder; otherwise, does nothing.
39763976
*
3977-
* @param sb The StringBuilder that will be appended to.
3977+
* @param buf The StringBuilder that will be appended to.
39783978
* @param numZeros The number of zeros to append.
39793979
*/
39803980
private static void padWithZeros(StringBuilder buf, int numZeros) {
@@ -3993,7 +3993,7 @@ private static void padWithZeros(StringBuilder buf, int numZeros) {
39933993
* (pre-pending with zeros) will be effected.
39943994
*
39953995
* @param radix The base to convert to.
3996-
* @param sb The StringBuilder that will be appended to in place.
3996+
* @param buf The StringBuilder that will be appended to in place.
39973997
* @param digits The minimum number of digits to pad to.
39983998
*/
39993999
private void smallToString(int radix, StringBuilder buf, int digits) {
@@ -4626,7 +4626,7 @@ private int getInt(int n) {
46264626
* least significant). If the magnitude is zero, return value is undefined.
46274627
*
46284628
* <p>Note: never used for a BigInteger with a magnitude of zero.
4629-
* @see #getInt.
4629+
* @see #getInt
46304630
*/
46314631
private int firstNonzeroIntNum() {
46324632
int fn = firstNonzeroIntNumPlusTwo - 2;

0 commit comments

Comments
 (0)